{"text_format":"1","workbook":"xlsx","n_sheets":8,"sheets":["CONTROL","PAYMENTS","USERS","READINGS","TARIFFS","INVOICE","INVOICE REGISTER","LICENSE"],"not_rendered":{"charts":1,"images":0,"macros":1,"external_links":1,"defined_names":4,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"CONTROL","index":0,"n_rows":43,"n_cols":2,"rows_kept":43,"cut":false,"hidden":false,"merged":[[0,0,0,3]]}
["AUTOMATIC INVOICING APP.  |   ONE-CLICK INVOICE GENERATION"]
["Search by name:","10 - Samuel Hayes"]
[null,10]
["Billing period","July 2026"]
["Issue date","20/08/2026"]
["Payment due date","22/08/2026"]
[]
[]
[]
["Title: Metered Utility Invoicing Application"]
[]
["Description:"]
[]
["Bill your tenants for water, electricity or other metered readings accurately, every month, without building a spreadsheet from scratch."]
[]
["This Excel tool tracks each tenant's meter readings and calculates their bill automatically, using"]
["progressive rate bands you set once, by property type. It handles residential, commercial, and industrial tariffs,"]
["keeps a running log of every invoice generated, and shows who's paid and who hasn't at a glance."]
["One button generates a PDF invoice for every tenant in a single run."]
[]
[]
["This app was developed to invoice users for their water consumption. It should also work for other sort of consumption."]
[]
["Works in Excel with macros enabled. One license covers one business."]
[]
["Instructions"]
["Users Sheet: this contains an example. New users can be changed, deleted or added. Once a change is done, The 'Sync Users' button on this page should be selected"]
["The users sheet has a email column. If the adjacent cell is selected as 'Send', it will also send a draft to Mail(Mac) or Outlook(Windows)."]
["Readings Sheet: All meter readings going in here."]
["Payments Sheet: Recordings of all settled and due monthly invoices."]
["Change the name search and Billing period; the INVOICE sheet updates automatically."]
["The confirmed tariff logic is progressive within the selected band: up to 50 m³ uses the band charge; above 50 m³ adds the 51–100 rate; "]
["above 100 m³ also adds the 101+ rate. Enter in the Tarif sheet for your ranges."]
[]
[]
["SYNC USERS TO ALL SHEETS"]
[]
[]
["ADD NEXT MONTH"]
["Run this once a month, before the new month's readings come in."]
["PAYMENT TRACKING"]
["Manual Use the PAYMENTS sheet to mark each monthly invoice PAID or PENDING."]
["The Readings should be entered into the READINGS Sheet on a monthly basis."]

{"sheet":"PAYMENTS","index":1,"n_rows":31,"n_cols":71,"rows_kept":31,"cut":false,"hidden":false,"merged":[]}
["No","Name","January 2026","February 2026","March 2026","April 2026","May 2026","June 2026","July 2026","August 2026","September 2026","October 2026","November 2026","December 2026","January 2027","February 2027","March 2027","April 2027",null,"PAYMENT TRACKING",null,null,"January - Invoice Amount","February - Invoice Amount","March - Invoice Amount","April - Invoice Amount","May - Invoice Amount","June - Invoice Amount","July - Invoice Amount","August - Invoice Amount","September 2026 - Invoice Amount","October 2026 - Invoice Amount","November 2026 - Invoice Amount","December 2026 - Invoice Amount","January 2027 - Invoice Amount","February 2027 - Invoice Amount","March 2027 - Invoice Amount","April 2027 - Invoice Amount","January - Has Reading","February - Has Reading","March - Has Reading","April - Has Reading","May - Has Reading","June - Has Reading","July - Has Reading","August - Has Reading","September 2026 - Has Reading","October 2026 - Has Reading","November 2026 - Has Reading","December 2026 - Has Reading","January 2027 - Has Reading","February 2027 - Has Reading","March 2027 - Has Reading","April 2027 - Has Reading",null,"January - Payment Received","February - Payment Received","March - Payment Received","April - Payment Received","May - Payment Received","June - Payment Received","July - Payment Received","August - Payment Received","September 2026 - Payment Received","October 2026 - Payment Received","November 2026 - Payment Received","December 2026 - Payment Received","January 2027 - Payment Received","February 2027 - Payment Received","March 2027 - Payment Received","April 2027 - Payment Received"]
[1,{"$f":"USERS!B2","v":"James Barnes"},"PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D2=\"\",READINGS!$C2=\"\"),0,IF((READINGS!$D2-READINGS!$C2)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D2-READINGS!$C2)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D2-READINGS!$C2)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D2-READINGS!$C2),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D2-READINGS!$C2)>100,((READINGS!$D2-READINGS!$C2)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$E2=\"\",READINGS!$D2=\"\"),0,IF((READINGS!$E2-READINGS!$D2)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E2-READINGS!$D2)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E2-READINGS!$D2)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E2-READINGS!$D2),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E2-READINGS!$D2)>100,((READINGS!$E2-READINGS!$D2)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$F2=\"\",READINGS!$E2=\"\"),0,IF((READINGS!$F2-READINGS!$E2)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F2-READINGS!$E2)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F2-READINGS!$E2)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F2-READINGS!$E2),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F2-READINGS!$E2)>100,((READINGS!$F2-READINGS!$E2)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$G2=\"\",READINGS!$F2=\"\"),0,IF((READINGS!$G2-READINGS!$F2)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G2-READINGS!$F2)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G2-READINGS!$F2)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G2-READINGS!$F2),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G2-READINGS!$F2)>100,((READINGS!$G2-READINGS!$F2)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$H2=\"\",READINGS!$G2=\"\"),0,IF((READINGS!$H2-READINGS!$G2)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H2-READINGS!$G2)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H2-READINGS!$G2)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H2-READINGS!$G2),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H2-READINGS!$G2)>100,((READINGS!$H2-READINGS!$G2)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$I2=\"\",READINGS!$H2=\"\"),0,IF((READINGS!$I2-READINGS!$H2)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I2-READINGS!$H2)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I2-READINGS!$H2)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I2-READINGS!$H2),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I2-READINGS!$H2)>100,((READINGS!$I2-READINGS!$H2)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$J2=\"\",READINGS!$I2=\"\"),0,IF((READINGS!$J2-READINGS!$I2)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J2-READINGS!$I2)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J2-READINGS!$I2)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J2-READINGS!$I2),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J2-READINGS!$I2)>100,((READINGS!$J2-READINGS!$I2)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$K2=\"\",READINGS!$J2=\"\"),0,IF((READINGS!$K2-READINGS!$J2)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K2-READINGS!$J2)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K2-READINGS!$J2)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K2-READINGS!$J2),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K2-READINGS!$J2)>100,((READINGS!$K2-READINGS!$J2)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D2=\"\",READINGS!$C2=\"\"),0,IF((READINGS!$D2-READINGS!$C2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D2-READINGS!$C2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D2-READINGS!$C2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D2-READINGS!$C2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D2-READINGS!$C2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$D2-READINGS!$C2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$E2=\"\",READINGS!$D2=\"\"),0,IF((READINGS!$E2-READINGS!$D2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E2-READINGS!$D2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E2-READINGS!$D2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E2-READINGS!$D2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E2-READINGS!$D2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$E2-READINGS!$D2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$F2=\"\",READINGS!$E2=\"\"),0,IF((READINGS!$F2-READINGS!$E2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F2-READINGS!$E2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F2-READINGS!$E2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F2-READINGS!$E2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F2-READINGS!$E2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$F2-READINGS!$E2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$G2=\"\",READINGS!$F2=\"\"),0,IF((READINGS!$G2-READINGS!$F2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G2-READINGS!$F2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G2-READINGS!$F2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G2-READINGS!$F2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G2-READINGS!$F2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$G2-READINGS!$F2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$H2=\"\",READINGS!$G2=\"\"),0,IF((READINGS!$H2-READINGS!$G2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H2-READINGS!$G2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H2-READINGS!$G2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H2-READINGS!$G2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H2-READINGS!$G2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$H2-READINGS!$G2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$I2=\"\",READINGS!$H2=\"\"),0,IF((READINGS!$I2-READINGS!$H2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I2-READINGS!$H2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I2-READINGS!$H2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I2-READINGS!$H2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I2-READINGS!$H2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$I2-READINGS!$H2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$J2=\"\",READINGS!$I2=\"\"),0,IF((READINGS!$J2-READINGS!$I2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J2-READINGS!$I2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J2-READINGS!$I2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J2-READINGS!$I2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J2-READINGS!$I2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$J2-READINGS!$I2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$K2=\"\",READINGS!$J2=\"\"),0,IF((READINGS!$K2-READINGS!$J2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K2-READINGS!$J2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K2-READINGS!$J2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K2-READINGS!$J2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K2-READINGS!$J2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$K2-READINGS!$J2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L2=\"\",READINGS!$K2=\"\"),0,IF((READINGS!$L2-READINGS!$K2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L2-READINGS!$K2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L2-READINGS!$K2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L2-READINGS!$K2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L2-READINGS!$K2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$L2-READINGS!$K2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M2=\"\",READINGS!$L2=\"\"),0,IF((READINGS!$M2-READINGS!$L2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M2-READINGS!$L2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M2-READINGS!$L2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M2-READINGS!$L2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M2-READINGS!$L2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$M2-READINGS!$L2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N2=\"\",READINGS!$M2=\"\"),0,IF((READINGS!$N2-READINGS!$M2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N2-READINGS!$M2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N2-READINGS!$M2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N2-READINGS!$M2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N2-READINGS!$M2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$N2-READINGS!$M2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O2=\"\",READINGS!$N2=\"\"),0,IF((READINGS!$O2-READINGS!$N2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O2-READINGS!$N2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O2-READINGS!$N2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O2-READINGS!$N2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O2-READINGS!$N2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$O2-READINGS!$N2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P2=\"\",READINGS!$O2=\"\"),0,IF((READINGS!$P2-READINGS!$O2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P2-READINGS!$O2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P2-READINGS!$O2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P2-READINGS!$O2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P2-READINGS!$O2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$P2-READINGS!$O2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q2=\"\",READINGS!$P2=\"\"),0,IF((READINGS!$Q2-READINGS!$P2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q2-READINGS!$P2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q2-READINGS!$P2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q2-READINGS!$P2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q2-READINGS!$P2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q2-READINGS!$P2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R2=\"\",READINGS!$Q2=\"\"),0,IF((READINGS!$R2-READINGS!$Q2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R2-READINGS!$Q2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R2-READINGS!$Q2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R2-READINGS!$Q2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R2-READINGS!$Q2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$R2-READINGS!$Q2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S2=\"\",READINGS!$R2=\"\"),0,IF((READINGS!$S2-READINGS!$R2)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S2-READINGS!$R2)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S2-READINGS!$R2)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S2-READINGS!$R2),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S2-READINGS!$R2)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),((READINGS!$S2-READINGS!$R2)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D2=\"\",READINGS!$C2=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E2=\"\",READINGS!$D2=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F2=\"\",READINGS!$E2=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G2=\"\",READINGS!$F2=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H2=\"\",READINGS!$G2=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I2=\"\",READINGS!$H2=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J2=\"\",READINGS!$I2=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K2=\"\",READINGS!$J2=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L2=\"\",READINGS!$K2=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M2=\"\",READINGS!$L2=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N2=\"\",READINGS!$M2=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O2=\"\",READINGS!$N2=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P2=\"\",READINGS!$O2=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q2=\"\",READINGS!$P2=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R2=\"\",READINGS!$Q2=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S2=\"\",READINGS!$R2=\"\"),0,1)","v":0}]
[2,{"$f":"USERS!B3","v":"Daniel Barnes"},"PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D3=\"\",READINGS!$C3=\"\"),0,IF((READINGS!$D3-READINGS!$C3)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D3-READINGS!$C3)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D3-READINGS!$C3)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D3-READINGS!$C3),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D3-READINGS!$C3)>100,((READINGS!$D3-READINGS!$C3)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$E3=\"\",READINGS!$D3=\"\"),0,IF((READINGS!$E3-READINGS!$D3)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E3-READINGS!$D3)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E3-READINGS!$D3)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E3-READINGS!$D3),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E3-READINGS!$D3)>100,((READINGS!$E3-READINGS!$D3)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$F3=\"\",READINGS!$E3=\"\"),0,IF((READINGS!$F3-READINGS!$E3)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F3-READINGS!$E3)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F3-READINGS!$E3)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F3-READINGS!$E3),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F3-READINGS!$E3)>100,((READINGS!$F3-READINGS!$E3)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G3=\"\",READINGS!$F3=\"\"),0,IF((READINGS!$G3-READINGS!$F3)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G3-READINGS!$F3)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G3-READINGS!$F3)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G3-READINGS!$F3),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G3-READINGS!$F3)>100,((READINGS!$G3-READINGS!$F3)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H3=\"\",READINGS!$G3=\"\"),0,IF((READINGS!$H3-READINGS!$G3)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H3-READINGS!$G3)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H3-READINGS!$G3)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H3-READINGS!$G3),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H3-READINGS!$G3)>100,((READINGS!$H3-READINGS!$G3)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$I3=\"\",READINGS!$H3=\"\"),0,IF((READINGS!$I3-READINGS!$H3)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I3-READINGS!$H3)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I3-READINGS!$H3)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I3-READINGS!$H3),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I3-READINGS!$H3)>100,((READINGS!$I3-READINGS!$H3)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J3=\"\",READINGS!$I3=\"\"),0,IF((READINGS!$J3-READINGS!$I3)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J3-READINGS!$I3)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J3-READINGS!$I3)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J3-READINGS!$I3),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J3-READINGS!$I3)>100,((READINGS!$J3-READINGS!$I3)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$K3=\"\",READINGS!$J3=\"\"),0,IF((READINGS!$K3-READINGS!$J3)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K3-READINGS!$J3)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K3-READINGS!$J3)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K3-READINGS!$J3),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K3-READINGS!$J3)>100,((READINGS!$K3-READINGS!$J3)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D3=\"\",READINGS!$C3=\"\"),0,IF((READINGS!$D3-READINGS!$C3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D3-READINGS!$C3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D3-READINGS!$C3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D3-READINGS!$C3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D3-READINGS!$C3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$D3-READINGS!$C3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$E3=\"\",READINGS!$D3=\"\"),0,IF((READINGS!$E3-READINGS!$D3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E3-READINGS!$D3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E3-READINGS!$D3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E3-READINGS!$D3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E3-READINGS!$D3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$E3-READINGS!$D3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$F3=\"\",READINGS!$E3=\"\"),0,IF((READINGS!$F3-READINGS!$E3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F3-READINGS!$E3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F3-READINGS!$E3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F3-READINGS!$E3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F3-READINGS!$E3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$F3-READINGS!$E3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G3=\"\",READINGS!$F3=\"\"),0,IF((READINGS!$G3-READINGS!$F3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G3-READINGS!$F3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G3-READINGS!$F3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G3-READINGS!$F3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G3-READINGS!$F3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$G3-READINGS!$F3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H3=\"\",READINGS!$G3=\"\"),0,IF((READINGS!$H3-READINGS!$G3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H3-READINGS!$G3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H3-READINGS!$G3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H3-READINGS!$G3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H3-READINGS!$G3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$H3-READINGS!$G3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$I3=\"\",READINGS!$H3=\"\"),0,IF((READINGS!$I3-READINGS!$H3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I3-READINGS!$H3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I3-READINGS!$H3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I3-READINGS!$H3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I3-READINGS!$H3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$I3-READINGS!$H3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J3=\"\",READINGS!$I3=\"\"),0,IF((READINGS!$J3-READINGS!$I3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J3-READINGS!$I3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J3-READINGS!$I3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J3-READINGS!$I3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J3-READINGS!$I3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$J3-READINGS!$I3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$K3=\"\",READINGS!$J3=\"\"),0,IF((READINGS!$K3-READINGS!$J3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K3-READINGS!$J3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K3-READINGS!$J3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K3-READINGS!$J3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K3-READINGS!$J3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$K3-READINGS!$J3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L3=\"\",READINGS!$K3=\"\"),0,IF((READINGS!$L3-READINGS!$K3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L3-READINGS!$K3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L3-READINGS!$K3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L3-READINGS!$K3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L3-READINGS!$K3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$L3-READINGS!$K3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M3=\"\",READINGS!$L3=\"\"),0,IF((READINGS!$M3-READINGS!$L3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M3-READINGS!$L3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M3-READINGS!$L3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M3-READINGS!$L3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M3-READINGS!$L3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$M3-READINGS!$L3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N3=\"\",READINGS!$M3=\"\"),0,IF((READINGS!$N3-READINGS!$M3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N3-READINGS!$M3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N3-READINGS!$M3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N3-READINGS!$M3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N3-READINGS!$M3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$N3-READINGS!$M3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O3=\"\",READINGS!$N3=\"\"),0,IF((READINGS!$O3-READINGS!$N3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O3-READINGS!$N3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O3-READINGS!$N3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O3-READINGS!$N3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O3-READINGS!$N3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$O3-READINGS!$N3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P3=\"\",READINGS!$O3=\"\"),0,IF((READINGS!$P3-READINGS!$O3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P3-READINGS!$O3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P3-READINGS!$O3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P3-READINGS!$O3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P3-READINGS!$O3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$P3-READINGS!$O3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q3=\"\",READINGS!$P3=\"\"),0,IF((READINGS!$Q3-READINGS!$P3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q3-READINGS!$P3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q3-READINGS!$P3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q3-READINGS!$P3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q3-READINGS!$P3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q3-READINGS!$P3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R3=\"\",READINGS!$Q3=\"\"),0,IF((READINGS!$R3-READINGS!$Q3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R3-READINGS!$Q3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R3-READINGS!$Q3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R3-READINGS!$Q3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R3-READINGS!$Q3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$R3-READINGS!$Q3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S3=\"\",READINGS!$R3=\"\"),0,IF((READINGS!$S3-READINGS!$R3)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S3-READINGS!$R3)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S3-READINGS!$R3)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S3-READINGS!$R3),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S3-READINGS!$R3)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),((READINGS!$S3-READINGS!$R3)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D3=\"\",READINGS!$C3=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E3=\"\",READINGS!$D3=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F3=\"\",READINGS!$E3=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G3=\"\",READINGS!$F3=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H3=\"\",READINGS!$G3=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I3=\"\",READINGS!$H3=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J3=\"\",READINGS!$I3=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K3=\"\",READINGS!$J3=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L3=\"\",READINGS!$K3=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M3=\"\",READINGS!$L3=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N3=\"\",READINGS!$M3=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O3=\"\",READINGS!$N3=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P3=\"\",READINGS!$O3=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q3=\"\",READINGS!$P3=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R3=\"\",READINGS!$Q3=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S3=\"\",READINGS!$R3=\"\"),0,1)","v":0}]
[3,{"$f":"USERS!B4","v":"Charlotte Chapman"},"PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D4=\"\",READINGS!$C4=\"\"),0,IF((READINGS!$D4-READINGS!$C4)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D4-READINGS!$C4)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D4-READINGS!$C4)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D4-READINGS!$C4),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D4-READINGS!$C4)>100,((READINGS!$D4-READINGS!$C4)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$E4=\"\",READINGS!$D4=\"\"),0,IF((READINGS!$E4-READINGS!$D4)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E4-READINGS!$D4)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E4-READINGS!$D4)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E4-READINGS!$D4),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E4-READINGS!$D4)>100,((READINGS!$E4-READINGS!$D4)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$F4=\"\",READINGS!$E4=\"\"),0,IF((READINGS!$F4-READINGS!$E4)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F4-READINGS!$E4)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F4-READINGS!$E4)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F4-READINGS!$E4),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F4-READINGS!$E4)>100,((READINGS!$F4-READINGS!$E4)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G4=\"\",READINGS!$F4=\"\"),0,IF((READINGS!$G4-READINGS!$F4)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G4-READINGS!$F4)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G4-READINGS!$F4)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G4-READINGS!$F4),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G4-READINGS!$F4)>100,((READINGS!$G4-READINGS!$F4)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$H4=\"\",READINGS!$G4=\"\"),0,IF((READINGS!$H4-READINGS!$G4)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H4-READINGS!$G4)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H4-READINGS!$G4)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H4-READINGS!$G4),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H4-READINGS!$G4)>100,((READINGS!$H4-READINGS!$G4)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$I4=\"\",READINGS!$H4=\"\"),0,IF((READINGS!$I4-READINGS!$H4)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I4-READINGS!$H4)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I4-READINGS!$H4)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I4-READINGS!$H4),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I4-READINGS!$H4)>100,((READINGS!$I4-READINGS!$H4)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$J4=\"\",READINGS!$I4=\"\"),0,IF((READINGS!$J4-READINGS!$I4)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J4-READINGS!$I4)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J4-READINGS!$I4)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J4-READINGS!$I4),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J4-READINGS!$I4)>100,((READINGS!$J4-READINGS!$I4)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$K4=\"\",READINGS!$J4=\"\"),0,IF((READINGS!$K4-READINGS!$J4)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K4-READINGS!$J4)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K4-READINGS!$J4)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K4-READINGS!$J4),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K4-READINGS!$J4)>100,((READINGS!$K4-READINGS!$J4)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D4=\"\",READINGS!$C4=\"\"),0,IF((READINGS!$D4-READINGS!$C4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D4-READINGS!$C4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D4-READINGS!$C4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D4-READINGS!$C4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D4-READINGS!$C4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$D4-READINGS!$C4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$E4=\"\",READINGS!$D4=\"\"),0,IF((READINGS!$E4-READINGS!$D4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E4-READINGS!$D4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E4-READINGS!$D4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E4-READINGS!$D4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E4-READINGS!$D4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$E4-READINGS!$D4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$F4=\"\",READINGS!$E4=\"\"),0,IF((READINGS!$F4-READINGS!$E4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F4-READINGS!$E4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F4-READINGS!$E4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F4-READINGS!$E4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F4-READINGS!$E4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$F4-READINGS!$E4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G4=\"\",READINGS!$F4=\"\"),0,IF((READINGS!$G4-READINGS!$F4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G4-READINGS!$F4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G4-READINGS!$F4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G4-READINGS!$F4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G4-READINGS!$F4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$G4-READINGS!$F4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$H4=\"\",READINGS!$G4=\"\"),0,IF((READINGS!$H4-READINGS!$G4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H4-READINGS!$G4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H4-READINGS!$G4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H4-READINGS!$G4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H4-READINGS!$G4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$H4-READINGS!$G4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$I4=\"\",READINGS!$H4=\"\"),0,IF((READINGS!$I4-READINGS!$H4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I4-READINGS!$H4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I4-READINGS!$H4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I4-READINGS!$H4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I4-READINGS!$H4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$I4-READINGS!$H4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$J4=\"\",READINGS!$I4=\"\"),0,IF((READINGS!$J4-READINGS!$I4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J4-READINGS!$I4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J4-READINGS!$I4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J4-READINGS!$I4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J4-READINGS!$I4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$J4-READINGS!$I4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$K4=\"\",READINGS!$J4=\"\"),0,IF((READINGS!$K4-READINGS!$J4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K4-READINGS!$J4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K4-READINGS!$J4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K4-READINGS!$J4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K4-READINGS!$J4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$K4-READINGS!$J4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L4=\"\",READINGS!$K4=\"\"),0,IF((READINGS!$L4-READINGS!$K4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L4-READINGS!$K4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L4-READINGS!$K4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L4-READINGS!$K4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L4-READINGS!$K4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$L4-READINGS!$K4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M4=\"\",READINGS!$L4=\"\"),0,IF((READINGS!$M4-READINGS!$L4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M4-READINGS!$L4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M4-READINGS!$L4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M4-READINGS!$L4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M4-READINGS!$L4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$M4-READINGS!$L4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N4=\"\",READINGS!$M4=\"\"),0,IF((READINGS!$N4-READINGS!$M4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N4-READINGS!$M4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N4-READINGS!$M4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N4-READINGS!$M4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N4-READINGS!$M4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$N4-READINGS!$M4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O4=\"\",READINGS!$N4=\"\"),0,IF((READINGS!$O4-READINGS!$N4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O4-READINGS!$N4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O4-READINGS!$N4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O4-READINGS!$N4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O4-READINGS!$N4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$O4-READINGS!$N4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P4=\"\",READINGS!$O4=\"\"),0,IF((READINGS!$P4-READINGS!$O4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P4-READINGS!$O4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P4-READINGS!$O4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P4-READINGS!$O4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P4-READINGS!$O4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$P4-READINGS!$O4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q4=\"\",READINGS!$P4=\"\"),0,IF((READINGS!$Q4-READINGS!$P4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q4-READINGS!$P4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q4-READINGS!$P4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q4-READINGS!$P4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q4-READINGS!$P4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q4-READINGS!$P4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R4=\"\",READINGS!$Q4=\"\"),0,IF((READINGS!$R4-READINGS!$Q4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R4-READINGS!$Q4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R4-READINGS!$Q4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R4-READINGS!$Q4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R4-READINGS!$Q4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$R4-READINGS!$Q4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S4=\"\",READINGS!$R4=\"\"),0,IF((READINGS!$S4-READINGS!$R4)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S4-READINGS!$R4)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S4-READINGS!$R4)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S4-READINGS!$R4),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S4-READINGS!$R4)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),((READINGS!$S4-READINGS!$R4)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D4=\"\",READINGS!$C4=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E4=\"\",READINGS!$D4=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F4=\"\",READINGS!$E4=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G4=\"\",READINGS!$F4=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H4=\"\",READINGS!$G4=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I4=\"\",READINGS!$H4=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J4=\"\",READINGS!$I4=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K4=\"\",READINGS!$J4=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L4=\"\",READINGS!$K4=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M4=\"\",READINGS!$L4=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N4=\"\",READINGS!$M4=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O4=\"\",READINGS!$N4=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P4=\"\",READINGS!$O4=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q4=\"\",READINGS!$P4=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R4=\"\",READINGS!$Q4=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S4=\"\",READINGS!$R4=\"\"),0,1)","v":0}]
[4,{"$f":"USERS!B5","v":"Mia Carter"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D5=\"\",READINGS!$C5=\"\"),0,IF((READINGS!$D5-READINGS!$C5)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D5-READINGS!$C5)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D5-READINGS!$C5)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D5-READINGS!$C5),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D5-READINGS!$C5)>100,((READINGS!$D5-READINGS!$C5)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$E5=\"\",READINGS!$D5=\"\"),0,IF((READINGS!$E5-READINGS!$D5)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E5-READINGS!$D5)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E5-READINGS!$D5)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E5-READINGS!$D5),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E5-READINGS!$D5)>100,((READINGS!$E5-READINGS!$D5)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$F5=\"\",READINGS!$E5=\"\"),0,IF((READINGS!$F5-READINGS!$E5)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F5-READINGS!$E5)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F5-READINGS!$E5)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F5-READINGS!$E5),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F5-READINGS!$E5)>100,((READINGS!$F5-READINGS!$E5)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$G5=\"\",READINGS!$F5=\"\"),0,IF((READINGS!$G5-READINGS!$F5)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G5-READINGS!$F5)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G5-READINGS!$F5)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G5-READINGS!$F5),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G5-READINGS!$F5)>100,((READINGS!$G5-READINGS!$F5)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$H5=\"\",READINGS!$G5=\"\"),0,IF((READINGS!$H5-READINGS!$G5)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H5-READINGS!$G5)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H5-READINGS!$G5)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H5-READINGS!$G5),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H5-READINGS!$G5)>100,((READINGS!$H5-READINGS!$G5)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$I5=\"\",READINGS!$H5=\"\"),0,IF((READINGS!$I5-READINGS!$H5)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I5-READINGS!$H5)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I5-READINGS!$H5)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I5-READINGS!$H5),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I5-READINGS!$H5)>100,((READINGS!$I5-READINGS!$H5)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$J5=\"\",READINGS!$I5=\"\"),0,IF((READINGS!$J5-READINGS!$I5)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J5-READINGS!$I5)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J5-READINGS!$I5)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J5-READINGS!$I5),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J5-READINGS!$I5)>100,((READINGS!$J5-READINGS!$I5)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$K5=\"\",READINGS!$J5=\"\"),0,IF((READINGS!$K5-READINGS!$J5)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K5-READINGS!$J5)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K5-READINGS!$J5)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K5-READINGS!$J5),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K5-READINGS!$J5)>100,((READINGS!$K5-READINGS!$J5)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D5=\"\",READINGS!$C5=\"\"),0,IF((READINGS!$D5-READINGS!$C5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D5-READINGS!$C5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D5-READINGS!$C5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D5-READINGS!$C5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D5-READINGS!$C5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$D5-READINGS!$C5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$E5=\"\",READINGS!$D5=\"\"),0,IF((READINGS!$E5-READINGS!$D5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E5-READINGS!$D5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E5-READINGS!$D5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E5-READINGS!$D5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E5-READINGS!$D5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$E5-READINGS!$D5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$F5=\"\",READINGS!$E5=\"\"),0,IF((READINGS!$F5-READINGS!$E5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F5-READINGS!$E5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F5-READINGS!$E5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F5-READINGS!$E5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F5-READINGS!$E5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$F5-READINGS!$E5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$G5=\"\",READINGS!$F5=\"\"),0,IF((READINGS!$G5-READINGS!$F5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G5-READINGS!$F5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G5-READINGS!$F5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G5-READINGS!$F5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G5-READINGS!$F5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$G5-READINGS!$F5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$H5=\"\",READINGS!$G5=\"\"),0,IF((READINGS!$H5-READINGS!$G5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H5-READINGS!$G5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H5-READINGS!$G5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H5-READINGS!$G5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H5-READINGS!$G5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$H5-READINGS!$G5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$I5=\"\",READINGS!$H5=\"\"),0,IF((READINGS!$I5-READINGS!$H5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I5-READINGS!$H5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I5-READINGS!$H5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I5-READINGS!$H5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I5-READINGS!$H5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$I5-READINGS!$H5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$J5=\"\",READINGS!$I5=\"\"),0,IF((READINGS!$J5-READINGS!$I5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J5-READINGS!$I5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J5-READINGS!$I5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J5-READINGS!$I5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J5-READINGS!$I5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$J5-READINGS!$I5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$K5=\"\",READINGS!$J5=\"\"),0,IF((READINGS!$K5-READINGS!$J5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K5-READINGS!$J5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K5-READINGS!$J5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K5-READINGS!$J5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K5-READINGS!$J5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$K5-READINGS!$J5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L5=\"\",READINGS!$K5=\"\"),0,IF((READINGS!$L5-READINGS!$K5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L5-READINGS!$K5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L5-READINGS!$K5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L5-READINGS!$K5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L5-READINGS!$K5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$L5-READINGS!$K5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M5=\"\",READINGS!$L5=\"\"),0,IF((READINGS!$M5-READINGS!$L5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M5-READINGS!$L5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M5-READINGS!$L5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M5-READINGS!$L5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M5-READINGS!$L5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$M5-READINGS!$L5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N5=\"\",READINGS!$M5=\"\"),0,IF((READINGS!$N5-READINGS!$M5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N5-READINGS!$M5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N5-READINGS!$M5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N5-READINGS!$M5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N5-READINGS!$M5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$N5-READINGS!$M5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O5=\"\",READINGS!$N5=\"\"),0,IF((READINGS!$O5-READINGS!$N5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O5-READINGS!$N5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O5-READINGS!$N5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O5-READINGS!$N5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O5-READINGS!$N5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$O5-READINGS!$N5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P5=\"\",READINGS!$O5=\"\"),0,IF((READINGS!$P5-READINGS!$O5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P5-READINGS!$O5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P5-READINGS!$O5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P5-READINGS!$O5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P5-READINGS!$O5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$P5-READINGS!$O5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q5=\"\",READINGS!$P5=\"\"),0,IF((READINGS!$Q5-READINGS!$P5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q5-READINGS!$P5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q5-READINGS!$P5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q5-READINGS!$P5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q5-READINGS!$P5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q5-READINGS!$P5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R5=\"\",READINGS!$Q5=\"\"),0,IF((READINGS!$R5-READINGS!$Q5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R5-READINGS!$Q5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R5-READINGS!$Q5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R5-READINGS!$Q5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R5-READINGS!$Q5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$R5-READINGS!$Q5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S5=\"\",READINGS!$R5=\"\"),0,IF((READINGS!$S5-READINGS!$R5)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S5-READINGS!$R5)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S5-READINGS!$R5)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S5-READINGS!$R5),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S5-READINGS!$R5)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),((READINGS!$S5-READINGS!$R5)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D5=\"\",READINGS!$C5=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E5=\"\",READINGS!$D5=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F5=\"\",READINGS!$E5=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G5=\"\",READINGS!$F5=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H5=\"\",READINGS!$G5=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I5=\"\",READINGS!$H5=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J5=\"\",READINGS!$I5=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K5=\"\",READINGS!$J5=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L5=\"\",READINGS!$K5=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M5=\"\",READINGS!$L5=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N5=\"\",READINGS!$M5=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O5=\"\",READINGS!$N5=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P5=\"\",READINGS!$O5=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q5=\"\",READINGS!$P5=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R5=\"\",READINGS!$Q5=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S5=\"\",READINGS!$R5=\"\"),0,1)","v":0}]
[5,{"$f":"USERS!B6","v":"Mia Chapman"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D6=\"\",READINGS!$C6=\"\"),0,IF((READINGS!$D6-READINGS!$C6)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D6-READINGS!$C6)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D6-READINGS!$C6)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D6-READINGS!$C6),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D6-READINGS!$C6)>100,((READINGS!$D6-READINGS!$C6)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":58000},{"$f":"IF(OR(READINGS!$E6=\"\",READINGS!$D6=\"\"),0,IF((READINGS!$E6-READINGS!$D6)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E6-READINGS!$D6)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E6-READINGS!$D6)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E6-READINGS!$D6),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E6-READINGS!$D6)>100,((READINGS!$E6-READINGS!$D6)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":52500},{"$f":"IF(OR(READINGS!$F6=\"\",READINGS!$E6=\"\"),0,IF((READINGS!$F6-READINGS!$E6)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F6-READINGS!$E6)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F6-READINGS!$E6)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F6-READINGS!$E6),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F6-READINGS!$E6)>100,((READINGS!$F6-READINGS!$E6)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":58000},{"$f":"IF(OR(READINGS!$G6=\"\",READINGS!$F6=\"\"),0,IF((READINGS!$G6-READINGS!$F6)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G6-READINGS!$F6)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G6-READINGS!$F6)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G6-READINGS!$F6),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G6-READINGS!$F6)>100,((READINGS!$G6-READINGS!$F6)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$H6=\"\",READINGS!$G6=\"\"),0,IF((READINGS!$H6-READINGS!$G6)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H6-READINGS!$G6)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H6-READINGS!$G6)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H6-READINGS!$G6),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H6-READINGS!$G6)>100,((READINGS!$H6-READINGS!$G6)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$I6=\"\",READINGS!$H6=\"\"),0,IF((READINGS!$I6-READINGS!$H6)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I6-READINGS!$H6)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I6-READINGS!$H6)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I6-READINGS!$H6),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I6-READINGS!$H6)>100,((READINGS!$I6-READINGS!$H6)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":52500},{"$f":"IF(OR(READINGS!$J6=\"\",READINGS!$I6=\"\"),0,IF((READINGS!$J6-READINGS!$I6)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J6-READINGS!$I6)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J6-READINGS!$I6)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J6-READINGS!$I6),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J6-READINGS!$I6)>100,((READINGS!$J6-READINGS!$I6)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$K6=\"\",READINGS!$J6=\"\"),0,IF((READINGS!$K6-READINGS!$J6)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K6-READINGS!$J6)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K6-READINGS!$J6)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K6-READINGS!$J6),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K6-READINGS!$J6)>100,((READINGS!$K6-READINGS!$J6)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D6=\"\",READINGS!$C6=\"\"),0,IF((READINGS!$D6-READINGS!$C6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D6-READINGS!$C6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D6-READINGS!$C6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D6-READINGS!$C6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D6-READINGS!$C6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$D6-READINGS!$C6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":58000},{"$f":"IF(OR(READINGS!$E6=\"\",READINGS!$D6=\"\"),0,IF((READINGS!$E6-READINGS!$D6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E6-READINGS!$D6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E6-READINGS!$D6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E6-READINGS!$D6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E6-READINGS!$D6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$E6-READINGS!$D6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":52500},{"$f":"IF(OR(READINGS!$F6=\"\",READINGS!$E6=\"\"),0,IF((READINGS!$F6-READINGS!$E6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F6-READINGS!$E6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F6-READINGS!$E6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F6-READINGS!$E6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F6-READINGS!$E6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$F6-READINGS!$E6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":58000},{"$f":"IF(OR(READINGS!$G6=\"\",READINGS!$F6=\"\"),0,IF((READINGS!$G6-READINGS!$F6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G6-READINGS!$F6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G6-READINGS!$F6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G6-READINGS!$F6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G6-READINGS!$F6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$G6-READINGS!$F6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$H6=\"\",READINGS!$G6=\"\"),0,IF((READINGS!$H6-READINGS!$G6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H6-READINGS!$G6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H6-READINGS!$G6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H6-READINGS!$G6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H6-READINGS!$G6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$H6-READINGS!$G6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$I6=\"\",READINGS!$H6=\"\"),0,IF((READINGS!$I6-READINGS!$H6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I6-READINGS!$H6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I6-READINGS!$H6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I6-READINGS!$H6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I6-READINGS!$H6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$I6-READINGS!$H6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":52500},{"$f":"IF(OR(READINGS!$J6=\"\",READINGS!$I6=\"\"),0,IF((READINGS!$J6-READINGS!$I6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J6-READINGS!$I6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J6-READINGS!$I6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J6-READINGS!$I6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J6-READINGS!$I6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$J6-READINGS!$I6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$K6=\"\",READINGS!$J6=\"\"),0,IF((READINGS!$K6-READINGS!$J6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K6-READINGS!$J6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K6-READINGS!$J6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K6-READINGS!$J6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K6-READINGS!$J6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$K6-READINGS!$J6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L6=\"\",READINGS!$K6=\"\"),0,IF((READINGS!$L6-READINGS!$K6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L6-READINGS!$K6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L6-READINGS!$K6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L6-READINGS!$K6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L6-READINGS!$K6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$L6-READINGS!$K6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M6=\"\",READINGS!$L6=\"\"),0,IF((READINGS!$M6-READINGS!$L6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M6-READINGS!$L6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M6-READINGS!$L6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M6-READINGS!$L6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M6-READINGS!$L6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$M6-READINGS!$L6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N6=\"\",READINGS!$M6=\"\"),0,IF((READINGS!$N6-READINGS!$M6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N6-READINGS!$M6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N6-READINGS!$M6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N6-READINGS!$M6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N6-READINGS!$M6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$N6-READINGS!$M6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O6=\"\",READINGS!$N6=\"\"),0,IF((READINGS!$O6-READINGS!$N6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O6-READINGS!$N6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O6-READINGS!$N6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O6-READINGS!$N6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O6-READINGS!$N6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$O6-READINGS!$N6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P6=\"\",READINGS!$O6=\"\"),0,IF((READINGS!$P6-READINGS!$O6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P6-READINGS!$O6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P6-READINGS!$O6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P6-READINGS!$O6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P6-READINGS!$O6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$P6-READINGS!$O6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q6=\"\",READINGS!$P6=\"\"),0,IF((READINGS!$Q6-READINGS!$P6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q6-READINGS!$P6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q6-READINGS!$P6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q6-READINGS!$P6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q6-READINGS!$P6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q6-READINGS!$P6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R6=\"\",READINGS!$Q6=\"\"),0,IF((READINGS!$R6-READINGS!$Q6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R6-READINGS!$Q6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R6-READINGS!$Q6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R6-READINGS!$Q6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R6-READINGS!$Q6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$R6-READINGS!$Q6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S6=\"\",READINGS!$R6=\"\"),0,IF((READINGS!$S6-READINGS!$R6)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S6-READINGS!$R6)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S6-READINGS!$R6)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S6-READINGS!$R6),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S6-READINGS!$R6)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),((READINGS!$S6-READINGS!$R6)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D6=\"\",READINGS!$C6=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E6=\"\",READINGS!$D6=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F6=\"\",READINGS!$E6=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G6=\"\",READINGS!$F6=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H6=\"\",READINGS!$G6=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I6=\"\",READINGS!$H6=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J6=\"\",READINGS!$I6=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K6=\"\",READINGS!$J6=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L6=\"\",READINGS!$K6=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M6=\"\",READINGS!$L6=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N6=\"\",READINGS!$M6=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O6=\"\",READINGS!$N6=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P6=\"\",READINGS!$O6=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q6=\"\",READINGS!$P6=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R6=\"\",READINGS!$Q6=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S6=\"\",READINGS!$R6=\"\"),0,1)","v":0}]
[6,{"$f":"USERS!B7","v":"Lucas Coleman"},"PAID","PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D7=\"\",READINGS!$C7=\"\"),0,IF((READINGS!$D7-READINGS!$C7)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D7-READINGS!$C7)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D7-READINGS!$C7)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D7-READINGS!$C7),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D7-READINGS!$C7)>100,((READINGS!$D7-READINGS!$C7)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$E7=\"\",READINGS!$D7=\"\"),0,IF((READINGS!$E7-READINGS!$D7)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E7-READINGS!$D7)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E7-READINGS!$D7)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E7-READINGS!$D7),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E7-READINGS!$D7)>100,((READINGS!$E7-READINGS!$D7)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$F7=\"\",READINGS!$E7=\"\"),0,IF((READINGS!$F7-READINGS!$E7)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F7-READINGS!$E7)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F7-READINGS!$E7)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F7-READINGS!$E7),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F7-READINGS!$E7)>100,((READINGS!$F7-READINGS!$E7)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G7=\"\",READINGS!$F7=\"\"),0,IF((READINGS!$G7-READINGS!$F7)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G7-READINGS!$F7)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G7-READINGS!$F7)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G7-READINGS!$F7),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G7-READINGS!$F7)>100,((READINGS!$G7-READINGS!$F7)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$H7=\"\",READINGS!$G7=\"\"),0,IF((READINGS!$H7-READINGS!$G7)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H7-READINGS!$G7)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H7-READINGS!$G7)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H7-READINGS!$G7),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H7-READINGS!$G7)>100,((READINGS!$H7-READINGS!$G7)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$I7=\"\",READINGS!$H7=\"\"),0,IF((READINGS!$I7-READINGS!$H7)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I7-READINGS!$H7)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I7-READINGS!$H7)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I7-READINGS!$H7),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I7-READINGS!$H7)>100,((READINGS!$I7-READINGS!$H7)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$J7=\"\",READINGS!$I7=\"\"),0,IF((READINGS!$J7-READINGS!$I7)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J7-READINGS!$I7)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J7-READINGS!$I7)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J7-READINGS!$I7),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J7-READINGS!$I7)>100,((READINGS!$J7-READINGS!$I7)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$K7=\"\",READINGS!$J7=\"\"),0,IF((READINGS!$K7-READINGS!$J7)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K7-READINGS!$J7)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K7-READINGS!$J7)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K7-READINGS!$J7),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K7-READINGS!$J7)>100,((READINGS!$K7-READINGS!$J7)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D7=\"\",READINGS!$C7=\"\"),0,IF((READINGS!$D7-READINGS!$C7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D7-READINGS!$C7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D7-READINGS!$C7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D7-READINGS!$C7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D7-READINGS!$C7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$D7-READINGS!$C7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$E7=\"\",READINGS!$D7=\"\"),0,IF((READINGS!$E7-READINGS!$D7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E7-READINGS!$D7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E7-READINGS!$D7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E7-READINGS!$D7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E7-READINGS!$D7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$E7-READINGS!$D7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$F7=\"\",READINGS!$E7=\"\"),0,IF((READINGS!$F7-READINGS!$E7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F7-READINGS!$E7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F7-READINGS!$E7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F7-READINGS!$E7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F7-READINGS!$E7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$F7-READINGS!$E7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G7=\"\",READINGS!$F7=\"\"),0,IF((READINGS!$G7-READINGS!$F7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G7-READINGS!$F7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G7-READINGS!$F7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G7-READINGS!$F7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G7-READINGS!$F7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$G7-READINGS!$F7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$H7=\"\",READINGS!$G7=\"\"),0,IF((READINGS!$H7-READINGS!$G7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H7-READINGS!$G7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H7-READINGS!$G7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H7-READINGS!$G7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H7-READINGS!$G7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$H7-READINGS!$G7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$I7=\"\",READINGS!$H7=\"\"),0,IF((READINGS!$I7-READINGS!$H7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I7-READINGS!$H7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I7-READINGS!$H7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I7-READINGS!$H7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I7-READINGS!$H7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$I7-READINGS!$H7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$J7=\"\",READINGS!$I7=\"\"),0,IF((READINGS!$J7-READINGS!$I7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J7-READINGS!$I7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J7-READINGS!$I7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J7-READINGS!$I7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J7-READINGS!$I7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$J7-READINGS!$I7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$K7=\"\",READINGS!$J7=\"\"),0,IF((READINGS!$K7-READINGS!$J7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K7-READINGS!$J7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K7-READINGS!$J7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K7-READINGS!$J7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K7-READINGS!$J7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$K7-READINGS!$J7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L7=\"\",READINGS!$K7=\"\"),0,IF((READINGS!$L7-READINGS!$K7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L7-READINGS!$K7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L7-READINGS!$K7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L7-READINGS!$K7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L7-READINGS!$K7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$L7-READINGS!$K7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M7=\"\",READINGS!$L7=\"\"),0,IF((READINGS!$M7-READINGS!$L7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M7-READINGS!$L7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M7-READINGS!$L7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M7-READINGS!$L7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M7-READINGS!$L7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$M7-READINGS!$L7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N7=\"\",READINGS!$M7=\"\"),0,IF((READINGS!$N7-READINGS!$M7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N7-READINGS!$M7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N7-READINGS!$M7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N7-READINGS!$M7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N7-READINGS!$M7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$N7-READINGS!$M7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O7=\"\",READINGS!$N7=\"\"),0,IF((READINGS!$O7-READINGS!$N7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O7-READINGS!$N7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O7-READINGS!$N7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O7-READINGS!$N7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O7-READINGS!$N7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$O7-READINGS!$N7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P7=\"\",READINGS!$O7=\"\"),0,IF((READINGS!$P7-READINGS!$O7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P7-READINGS!$O7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P7-READINGS!$O7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P7-READINGS!$O7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P7-READINGS!$O7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$P7-READINGS!$O7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q7=\"\",READINGS!$P7=\"\"),0,IF((READINGS!$Q7-READINGS!$P7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q7-READINGS!$P7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q7-READINGS!$P7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q7-READINGS!$P7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q7-READINGS!$P7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q7-READINGS!$P7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R7=\"\",READINGS!$Q7=\"\"),0,IF((READINGS!$R7-READINGS!$Q7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R7-READINGS!$Q7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R7-READINGS!$Q7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R7-READINGS!$Q7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R7-READINGS!$Q7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$R7-READINGS!$Q7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S7=\"\",READINGS!$R7=\"\"),0,IF((READINGS!$S7-READINGS!$R7)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S7-READINGS!$R7)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S7-READINGS!$R7)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S7-READINGS!$R7),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S7-READINGS!$R7)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),((READINGS!$S7-READINGS!$R7)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D7=\"\",READINGS!$C7=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E7=\"\",READINGS!$D7=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F7=\"\",READINGS!$E7=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G7=\"\",READINGS!$F7=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H7=\"\",READINGS!$G7=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I7=\"\",READINGS!$H7=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J7=\"\",READINGS!$I7=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K7=\"\",READINGS!$J7=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L7=\"\",READINGS!$K7=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M7=\"\",READINGS!$L7=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N7=\"\",READINGS!$M7=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O7=\"\",READINGS!$N7=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P7=\"\",READINGS!$O7=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q7=\"\",READINGS!$P7=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R7=\"\",READINGS!$Q7=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S7=\"\",READINGS!$R7=\"\"),0,1)","v":0}]
[7,{"$f":"USERS!B8","v":"Elizabeth Mitchell"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D8=\"\",READINGS!$C8=\"\"),0,IF((READINGS!$D8-READINGS!$C8)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D8-READINGS!$C8)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D8-READINGS!$C8)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D8-READINGS!$C8),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D8-READINGS!$C8)>100,((READINGS!$D8-READINGS!$C8)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$E8=\"\",READINGS!$D8=\"\"),0,IF((READINGS!$E8-READINGS!$D8)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E8-READINGS!$D8)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E8-READINGS!$D8)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E8-READINGS!$D8),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E8-READINGS!$D8)>100,((READINGS!$E8-READINGS!$D8)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$F8=\"\",READINGS!$E8=\"\"),0,IF((READINGS!$F8-READINGS!$E8)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F8-READINGS!$E8)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F8-READINGS!$E8)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F8-READINGS!$E8),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F8-READINGS!$E8)>100,((READINGS!$F8-READINGS!$E8)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$G8=\"\",READINGS!$F8=\"\"),0,IF((READINGS!$G8-READINGS!$F8)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G8-READINGS!$F8)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G8-READINGS!$F8)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G8-READINGS!$F8),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G8-READINGS!$F8)>100,((READINGS!$G8-READINGS!$F8)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$H8=\"\",READINGS!$G8=\"\"),0,IF((READINGS!$H8-READINGS!$G8)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H8-READINGS!$G8)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H8-READINGS!$G8)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H8-READINGS!$G8),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H8-READINGS!$G8)>100,((READINGS!$H8-READINGS!$G8)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$I8=\"\",READINGS!$H8=\"\"),0,IF((READINGS!$I8-READINGS!$H8)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I8-READINGS!$H8)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I8-READINGS!$H8)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I8-READINGS!$H8),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I8-READINGS!$H8)>100,((READINGS!$I8-READINGS!$H8)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$J8=\"\",READINGS!$I8=\"\"),0,IF((READINGS!$J8-READINGS!$I8)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J8-READINGS!$I8)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J8-READINGS!$I8)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J8-READINGS!$I8),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J8-READINGS!$I8)>100,((READINGS!$J8-READINGS!$I8)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$K8=\"\",READINGS!$J8=\"\"),0,IF((READINGS!$K8-READINGS!$J8)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K8-READINGS!$J8)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K8-READINGS!$J8)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K8-READINGS!$J8),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K8-READINGS!$J8)>100,((READINGS!$K8-READINGS!$J8)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D8=\"\",READINGS!$C8=\"\"),0,IF((READINGS!$D8-READINGS!$C8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D8-READINGS!$C8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D8-READINGS!$C8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D8-READINGS!$C8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D8-READINGS!$C8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$D8-READINGS!$C8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$E8=\"\",READINGS!$D8=\"\"),0,IF((READINGS!$E8-READINGS!$D8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E8-READINGS!$D8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E8-READINGS!$D8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E8-READINGS!$D8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E8-READINGS!$D8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$E8-READINGS!$D8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$F8=\"\",READINGS!$E8=\"\"),0,IF((READINGS!$F8-READINGS!$E8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F8-READINGS!$E8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F8-READINGS!$E8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F8-READINGS!$E8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F8-READINGS!$E8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$F8-READINGS!$E8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$G8=\"\",READINGS!$F8=\"\"),0,IF((READINGS!$G8-READINGS!$F8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G8-READINGS!$F8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G8-READINGS!$F8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G8-READINGS!$F8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G8-READINGS!$F8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$G8-READINGS!$F8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$H8=\"\",READINGS!$G8=\"\"),0,IF((READINGS!$H8-READINGS!$G8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H8-READINGS!$G8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H8-READINGS!$G8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H8-READINGS!$G8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H8-READINGS!$G8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$H8-READINGS!$G8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$I8=\"\",READINGS!$H8=\"\"),0,IF((READINGS!$I8-READINGS!$H8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I8-READINGS!$H8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I8-READINGS!$H8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I8-READINGS!$H8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I8-READINGS!$H8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$I8-READINGS!$H8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$J8=\"\",READINGS!$I8=\"\"),0,IF((READINGS!$J8-READINGS!$I8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J8-READINGS!$I8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J8-READINGS!$I8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J8-READINGS!$I8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J8-READINGS!$I8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$J8-READINGS!$I8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$K8=\"\",READINGS!$J8=\"\"),0,IF((READINGS!$K8-READINGS!$J8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K8-READINGS!$J8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K8-READINGS!$J8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K8-READINGS!$J8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K8-READINGS!$J8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$K8-READINGS!$J8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L8=\"\",READINGS!$K8=\"\"),0,IF((READINGS!$L8-READINGS!$K8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L8-READINGS!$K8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L8-READINGS!$K8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L8-READINGS!$K8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L8-READINGS!$K8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$L8-READINGS!$K8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M8=\"\",READINGS!$L8=\"\"),0,IF((READINGS!$M8-READINGS!$L8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M8-READINGS!$L8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M8-READINGS!$L8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M8-READINGS!$L8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M8-READINGS!$L8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$M8-READINGS!$L8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N8=\"\",READINGS!$M8=\"\"),0,IF((READINGS!$N8-READINGS!$M8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N8-READINGS!$M8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N8-READINGS!$M8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N8-READINGS!$M8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N8-READINGS!$M8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$N8-READINGS!$M8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O8=\"\",READINGS!$N8=\"\"),0,IF((READINGS!$O8-READINGS!$N8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O8-READINGS!$N8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O8-READINGS!$N8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O8-READINGS!$N8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O8-READINGS!$N8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$O8-READINGS!$N8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P8=\"\",READINGS!$O8=\"\"),0,IF((READINGS!$P8-READINGS!$O8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P8-READINGS!$O8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P8-READINGS!$O8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P8-READINGS!$O8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P8-READINGS!$O8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$P8-READINGS!$O8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q8=\"\",READINGS!$P8=\"\"),0,IF((READINGS!$Q8-READINGS!$P8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q8-READINGS!$P8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q8-READINGS!$P8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q8-READINGS!$P8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q8-READINGS!$P8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q8-READINGS!$P8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R8=\"\",READINGS!$Q8=\"\"),0,IF((READINGS!$R8-READINGS!$Q8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R8-READINGS!$Q8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R8-READINGS!$Q8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R8-READINGS!$Q8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R8-READINGS!$Q8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$R8-READINGS!$Q8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S8=\"\",READINGS!$R8=\"\"),0,IF((READINGS!$S8-READINGS!$R8)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S8-READINGS!$R8)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S8-READINGS!$R8)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S8-READINGS!$R8),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S8-READINGS!$R8)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),((READINGS!$S8-READINGS!$R8)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D8=\"\",READINGS!$C8=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E8=\"\",READINGS!$D8=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F8=\"\",READINGS!$E8=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G8=\"\",READINGS!$F8=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H8=\"\",READINGS!$G8=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I8=\"\",READINGS!$H8=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J8=\"\",READINGS!$I8=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K8=\"\",READINGS!$J8=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L8=\"\",READINGS!$K8=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M8=\"\",READINGS!$L8=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N8=\"\",READINGS!$M8=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O8=\"\",READINGS!$N8=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P8=\"\",READINGS!$O8=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q8=\"\",READINGS!$P8=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R8=\"\",READINGS!$Q8=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S8=\"\",READINGS!$R8=\"\"),0,1)","v":0}]
[8,{"$f":"USERS!B9","v":"Olivia Bennett"},"PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D9=\"\",READINGS!$C9=\"\"),0,IF((READINGS!$D9-READINGS!$C9)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D9-READINGS!$C9)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D9-READINGS!$C9)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D9-READINGS!$C9),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D9-READINGS!$C9)>100,((READINGS!$D9-READINGS!$C9)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$E9=\"\",READINGS!$D9=\"\"),0,IF((READINGS!$E9-READINGS!$D9)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E9-READINGS!$D9)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E9-READINGS!$D9)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E9-READINGS!$D9),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E9-READINGS!$D9)>100,((READINGS!$E9-READINGS!$D9)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$F9=\"\",READINGS!$E9=\"\"),0,IF((READINGS!$F9-READINGS!$E9)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F9-READINGS!$E9)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F9-READINGS!$E9)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F9-READINGS!$E9),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F9-READINGS!$E9)>100,((READINGS!$F9-READINGS!$E9)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$G9=\"\",READINGS!$F9=\"\"),0,IF((READINGS!$G9-READINGS!$F9)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G9-READINGS!$F9)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G9-READINGS!$F9)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G9-READINGS!$F9),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G9-READINGS!$F9)>100,((READINGS!$G9-READINGS!$F9)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H9=\"\",READINGS!$G9=\"\"),0,IF((READINGS!$H9-READINGS!$G9)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H9-READINGS!$G9)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H9-READINGS!$G9)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H9-READINGS!$G9),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H9-READINGS!$G9)>100,((READINGS!$H9-READINGS!$G9)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I9=\"\",READINGS!$H9=\"\"),0,IF((READINGS!$I9-READINGS!$H9)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I9-READINGS!$H9)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I9-READINGS!$H9)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I9-READINGS!$H9),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I9-READINGS!$H9)>100,((READINGS!$I9-READINGS!$H9)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J9=\"\",READINGS!$I9=\"\"),0,IF((READINGS!$J9-READINGS!$I9)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J9-READINGS!$I9)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J9-READINGS!$I9)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J9-READINGS!$I9),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J9-READINGS!$I9)>100,((READINGS!$J9-READINGS!$I9)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$K9=\"\",READINGS!$J9=\"\"),0,IF((READINGS!$K9-READINGS!$J9)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K9-READINGS!$J9)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K9-READINGS!$J9)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K9-READINGS!$J9),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K9-READINGS!$J9)>100,((READINGS!$K9-READINGS!$J9)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D9=\"\",READINGS!$C9=\"\"),0,IF((READINGS!$D9-READINGS!$C9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D9-READINGS!$C9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D9-READINGS!$C9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D9-READINGS!$C9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D9-READINGS!$C9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$D9-READINGS!$C9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$E9=\"\",READINGS!$D9=\"\"),0,IF((READINGS!$E9-READINGS!$D9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E9-READINGS!$D9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E9-READINGS!$D9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E9-READINGS!$D9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E9-READINGS!$D9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$E9-READINGS!$D9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$F9=\"\",READINGS!$E9=\"\"),0,IF((READINGS!$F9-READINGS!$E9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F9-READINGS!$E9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F9-READINGS!$E9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F9-READINGS!$E9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F9-READINGS!$E9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$F9-READINGS!$E9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$G9=\"\",READINGS!$F9=\"\"),0,IF((READINGS!$G9-READINGS!$F9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G9-READINGS!$F9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G9-READINGS!$F9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G9-READINGS!$F9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G9-READINGS!$F9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$G9-READINGS!$F9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H9=\"\",READINGS!$G9=\"\"),0,IF((READINGS!$H9-READINGS!$G9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H9-READINGS!$G9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H9-READINGS!$G9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H9-READINGS!$G9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H9-READINGS!$G9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$H9-READINGS!$G9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I9=\"\",READINGS!$H9=\"\"),0,IF((READINGS!$I9-READINGS!$H9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I9-READINGS!$H9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I9-READINGS!$H9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I9-READINGS!$H9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I9-READINGS!$H9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$I9-READINGS!$H9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J9=\"\",READINGS!$I9=\"\"),0,IF((READINGS!$J9-READINGS!$I9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J9-READINGS!$I9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J9-READINGS!$I9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J9-READINGS!$I9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J9-READINGS!$I9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$J9-READINGS!$I9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$K9=\"\",READINGS!$J9=\"\"),0,IF((READINGS!$K9-READINGS!$J9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K9-READINGS!$J9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K9-READINGS!$J9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K9-READINGS!$J9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K9-READINGS!$J9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$K9-READINGS!$J9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L9=\"\",READINGS!$K9=\"\"),0,IF((READINGS!$L9-READINGS!$K9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L9-READINGS!$K9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L9-READINGS!$K9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L9-READINGS!$K9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L9-READINGS!$K9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$L9-READINGS!$K9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M9=\"\",READINGS!$L9=\"\"),0,IF((READINGS!$M9-READINGS!$L9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M9-READINGS!$L9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M9-READINGS!$L9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M9-READINGS!$L9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M9-READINGS!$L9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$M9-READINGS!$L9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N9=\"\",READINGS!$M9=\"\"),0,IF((READINGS!$N9-READINGS!$M9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N9-READINGS!$M9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N9-READINGS!$M9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N9-READINGS!$M9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N9-READINGS!$M9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$N9-READINGS!$M9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O9=\"\",READINGS!$N9=\"\"),0,IF((READINGS!$O9-READINGS!$N9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O9-READINGS!$N9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O9-READINGS!$N9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O9-READINGS!$N9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O9-READINGS!$N9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$O9-READINGS!$N9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P9=\"\",READINGS!$O9=\"\"),0,IF((READINGS!$P9-READINGS!$O9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P9-READINGS!$O9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P9-READINGS!$O9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P9-READINGS!$O9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P9-READINGS!$O9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$P9-READINGS!$O9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q9=\"\",READINGS!$P9=\"\"),0,IF((READINGS!$Q9-READINGS!$P9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q9-READINGS!$P9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q9-READINGS!$P9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q9-READINGS!$P9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q9-READINGS!$P9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q9-READINGS!$P9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R9=\"\",READINGS!$Q9=\"\"),0,IF((READINGS!$R9-READINGS!$Q9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R9-READINGS!$Q9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R9-READINGS!$Q9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R9-READINGS!$Q9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R9-READINGS!$Q9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$R9-READINGS!$Q9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S9=\"\",READINGS!$R9=\"\"),0,IF((READINGS!$S9-READINGS!$R9)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S9-READINGS!$R9)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S9-READINGS!$R9)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S9-READINGS!$R9),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S9-READINGS!$R9)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),((READINGS!$S9-READINGS!$R9)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D9=\"\",READINGS!$C9=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E9=\"\",READINGS!$D9=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F9=\"\",READINGS!$E9=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G9=\"\",READINGS!$F9=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H9=\"\",READINGS!$G9=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I9=\"\",READINGS!$H9=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J9=\"\",READINGS!$I9=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K9=\"\",READINGS!$J9=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L9=\"\",READINGS!$K9=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M9=\"\",READINGS!$L9=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N9=\"\",READINGS!$M9=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O9=\"\",READINGS!$N9=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P9=\"\",READINGS!$O9=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q9=\"\",READINGS!$P9=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R9=\"\",READINGS!$Q9=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S9=\"\",READINGS!$R9=\"\"),0,1)","v":0}]
[9,{"$f":"USERS!B10","v":"Amelia Foster"},"PAID","PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D10=\"\",READINGS!$C10=\"\"),0,IF((READINGS!$D10-READINGS!$C10)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D10-READINGS!$C10)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D10-READINGS!$C10)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D10-READINGS!$C10),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D10-READINGS!$C10)>100,((READINGS!$D10-READINGS!$C10)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$E10=\"\",READINGS!$D10=\"\"),0,IF((READINGS!$E10-READINGS!$D10)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E10-READINGS!$D10)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E10-READINGS!$D10)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E10-READINGS!$D10),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E10-READINGS!$D10)>100,((READINGS!$E10-READINGS!$D10)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$F10=\"\",READINGS!$E10=\"\"),0,IF((READINGS!$F10-READINGS!$E10)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F10-READINGS!$E10)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F10-READINGS!$E10)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F10-READINGS!$E10),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F10-READINGS!$E10)>100,((READINGS!$F10-READINGS!$E10)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$G10=\"\",READINGS!$F10=\"\"),0,IF((READINGS!$G10-READINGS!$F10)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G10-READINGS!$F10)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G10-READINGS!$F10)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G10-READINGS!$F10),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G10-READINGS!$F10)>100,((READINGS!$G10-READINGS!$F10)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$H10=\"\",READINGS!$G10=\"\"),0,IF((READINGS!$H10-READINGS!$G10)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H10-READINGS!$G10)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H10-READINGS!$G10)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H10-READINGS!$G10),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H10-READINGS!$G10)>100,((READINGS!$H10-READINGS!$G10)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$I10=\"\",READINGS!$H10=\"\"),0,IF((READINGS!$I10-READINGS!$H10)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I10-READINGS!$H10)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I10-READINGS!$H10)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I10-READINGS!$H10),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I10-READINGS!$H10)>100,((READINGS!$I10-READINGS!$H10)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$J10=\"\",READINGS!$I10=\"\"),0,IF((READINGS!$J10-READINGS!$I10)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J10-READINGS!$I10)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J10-READINGS!$I10)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J10-READINGS!$I10),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J10-READINGS!$I10)>100,((READINGS!$J10-READINGS!$I10)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$K10=\"\",READINGS!$J10=\"\"),0,IF((READINGS!$K10-READINGS!$J10)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K10-READINGS!$J10)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K10-READINGS!$J10)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K10-READINGS!$J10),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K10-READINGS!$J10)>100,((READINGS!$K10-READINGS!$J10)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D10=\"\",READINGS!$C10=\"\"),0,IF((READINGS!$D10-READINGS!$C10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D10-READINGS!$C10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D10-READINGS!$C10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D10-READINGS!$C10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D10-READINGS!$C10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$D10-READINGS!$C10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$E10=\"\",READINGS!$D10=\"\"),0,IF((READINGS!$E10-READINGS!$D10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E10-READINGS!$D10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E10-READINGS!$D10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E10-READINGS!$D10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E10-READINGS!$D10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$E10-READINGS!$D10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$F10=\"\",READINGS!$E10=\"\"),0,IF((READINGS!$F10-READINGS!$E10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F10-READINGS!$E10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F10-READINGS!$E10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F10-READINGS!$E10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F10-READINGS!$E10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$F10-READINGS!$E10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$G10=\"\",READINGS!$F10=\"\"),0,IF((READINGS!$G10-READINGS!$F10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G10-READINGS!$F10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G10-READINGS!$F10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G10-READINGS!$F10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G10-READINGS!$F10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$G10-READINGS!$F10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$H10=\"\",READINGS!$G10=\"\"),0,IF((READINGS!$H10-READINGS!$G10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H10-READINGS!$G10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H10-READINGS!$G10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H10-READINGS!$G10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H10-READINGS!$G10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$H10-READINGS!$G10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$I10=\"\",READINGS!$H10=\"\"),0,IF((READINGS!$I10-READINGS!$H10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I10-READINGS!$H10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I10-READINGS!$H10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I10-READINGS!$H10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I10-READINGS!$H10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$I10-READINGS!$H10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$J10=\"\",READINGS!$I10=\"\"),0,IF((READINGS!$J10-READINGS!$I10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J10-READINGS!$I10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J10-READINGS!$I10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J10-READINGS!$I10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J10-READINGS!$I10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$J10-READINGS!$I10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$K10=\"\",READINGS!$J10=\"\"),0,IF((READINGS!$K10-READINGS!$J10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K10-READINGS!$J10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K10-READINGS!$J10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K10-READINGS!$J10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K10-READINGS!$J10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$K10-READINGS!$J10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L10=\"\",READINGS!$K10=\"\"),0,IF((READINGS!$L10-READINGS!$K10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L10-READINGS!$K10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L10-READINGS!$K10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L10-READINGS!$K10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L10-READINGS!$K10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$L10-READINGS!$K10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M10=\"\",READINGS!$L10=\"\"),0,IF((READINGS!$M10-READINGS!$L10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M10-READINGS!$L10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M10-READINGS!$L10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M10-READINGS!$L10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M10-READINGS!$L10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$M10-READINGS!$L10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N10=\"\",READINGS!$M10=\"\"),0,IF((READINGS!$N10-READINGS!$M10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N10-READINGS!$M10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N10-READINGS!$M10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N10-READINGS!$M10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N10-READINGS!$M10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$N10-READINGS!$M10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O10=\"\",READINGS!$N10=\"\"),0,IF((READINGS!$O10-READINGS!$N10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O10-READINGS!$N10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O10-READINGS!$N10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O10-READINGS!$N10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O10-READINGS!$N10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$O10-READINGS!$N10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P10=\"\",READINGS!$O10=\"\"),0,IF((READINGS!$P10-READINGS!$O10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P10-READINGS!$O10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P10-READINGS!$O10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P10-READINGS!$O10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P10-READINGS!$O10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$P10-READINGS!$O10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q10=\"\",READINGS!$P10=\"\"),0,IF((READINGS!$Q10-READINGS!$P10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q10-READINGS!$P10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q10-READINGS!$P10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q10-READINGS!$P10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q10-READINGS!$P10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q10-READINGS!$P10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R10=\"\",READINGS!$Q10=\"\"),0,IF((READINGS!$R10-READINGS!$Q10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R10-READINGS!$Q10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R10-READINGS!$Q10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R10-READINGS!$Q10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R10-READINGS!$Q10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$R10-READINGS!$Q10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S10=\"\",READINGS!$R10=\"\"),0,IF((READINGS!$S10-READINGS!$R10)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S10-READINGS!$R10)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S10-READINGS!$R10)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S10-READINGS!$R10),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S10-READINGS!$R10)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),((READINGS!$S10-READINGS!$R10)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D10=\"\",READINGS!$C10=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E10=\"\",READINGS!$D10=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F10=\"\",READINGS!$E10=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G10=\"\",READINGS!$F10=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H10=\"\",READINGS!$G10=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I10=\"\",READINGS!$H10=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J10=\"\",READINGS!$I10=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K10=\"\",READINGS!$J10=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L10=\"\",READINGS!$K10=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M10=\"\",READINGS!$L10=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N10=\"\",READINGS!$M10=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O10=\"\",READINGS!$N10=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P10=\"\",READINGS!$O10=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q10=\"\",READINGS!$P10=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R10=\"\",READINGS!$Q10=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S10=\"\",READINGS!$R10=\"\"),0,1)","v":0}]
[10,{"$f":"USERS!B11","v":"Samuel Hayes"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D11=\"\",READINGS!$C11=\"\"),0,IF((READINGS!$D11-READINGS!$C11)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D11-READINGS!$C11)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D11-READINGS!$C11)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D11-READINGS!$C11),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D11-READINGS!$C11)>100,((READINGS!$D11-READINGS!$C11)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$E11=\"\",READINGS!$D11=\"\"),0,IF((READINGS!$E11-READINGS!$D11)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E11-READINGS!$D11)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E11-READINGS!$D11)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E11-READINGS!$D11),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E11-READINGS!$D11)>100,((READINGS!$E11-READINGS!$D11)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$F11=\"\",READINGS!$E11=\"\"),0,IF((READINGS!$F11-READINGS!$E11)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F11-READINGS!$E11)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F11-READINGS!$E11)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F11-READINGS!$E11),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F11-READINGS!$E11)>100,((READINGS!$F11-READINGS!$E11)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$G11=\"\",READINGS!$F11=\"\"),0,IF((READINGS!$G11-READINGS!$F11)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G11-READINGS!$F11)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G11-READINGS!$F11)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G11-READINGS!$F11),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G11-READINGS!$F11)>100,((READINGS!$G11-READINGS!$F11)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$H11=\"\",READINGS!$G11=\"\"),0,IF((READINGS!$H11-READINGS!$G11)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H11-READINGS!$G11)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H11-READINGS!$G11)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H11-READINGS!$G11),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H11-READINGS!$G11)>100,((READINGS!$H11-READINGS!$G11)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$I11=\"\",READINGS!$H11=\"\"),0,IF((READINGS!$I11-READINGS!$H11)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I11-READINGS!$H11)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I11-READINGS!$H11)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I11-READINGS!$H11),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I11-READINGS!$H11)>100,((READINGS!$I11-READINGS!$H11)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$J11=\"\",READINGS!$I11=\"\"),0,IF((READINGS!$J11-READINGS!$I11)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J11-READINGS!$I11)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J11-READINGS!$I11)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J11-READINGS!$I11),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J11-READINGS!$I11)>100,((READINGS!$J11-READINGS!$I11)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$K11=\"\",READINGS!$J11=\"\"),0,IF((READINGS!$K11-READINGS!$J11)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K11-READINGS!$J11)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K11-READINGS!$J11)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K11-READINGS!$J11),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K11-READINGS!$J11)>100,((READINGS!$K11-READINGS!$J11)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D11=\"\",READINGS!$C11=\"\"),0,IF((READINGS!$D11-READINGS!$C11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D11-READINGS!$C11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D11-READINGS!$C11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D11-READINGS!$C11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D11-READINGS!$C11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$D11-READINGS!$C11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$E11=\"\",READINGS!$D11=\"\"),0,IF((READINGS!$E11-READINGS!$D11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E11-READINGS!$D11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E11-READINGS!$D11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E11-READINGS!$D11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E11-READINGS!$D11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$E11-READINGS!$D11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$F11=\"\",READINGS!$E11=\"\"),0,IF((READINGS!$F11-READINGS!$E11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F11-READINGS!$E11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F11-READINGS!$E11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F11-READINGS!$E11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F11-READINGS!$E11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$F11-READINGS!$E11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$G11=\"\",READINGS!$F11=\"\"),0,IF((READINGS!$G11-READINGS!$F11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G11-READINGS!$F11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G11-READINGS!$F11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G11-READINGS!$F11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G11-READINGS!$F11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$G11-READINGS!$F11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$H11=\"\",READINGS!$G11=\"\"),0,IF((READINGS!$H11-READINGS!$G11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H11-READINGS!$G11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H11-READINGS!$G11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H11-READINGS!$G11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H11-READINGS!$G11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$H11-READINGS!$G11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$I11=\"\",READINGS!$H11=\"\"),0,IF((READINGS!$I11-READINGS!$H11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I11-READINGS!$H11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I11-READINGS!$H11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I11-READINGS!$H11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I11-READINGS!$H11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$I11-READINGS!$H11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$J11=\"\",READINGS!$I11=\"\"),0,IF((READINGS!$J11-READINGS!$I11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J11-READINGS!$I11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J11-READINGS!$I11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J11-READINGS!$I11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J11-READINGS!$I11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$J11-READINGS!$I11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$K11=\"\",READINGS!$J11=\"\"),0,IF((READINGS!$K11-READINGS!$J11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K11-READINGS!$J11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K11-READINGS!$J11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K11-READINGS!$J11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K11-READINGS!$J11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$K11-READINGS!$J11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L11=\"\",READINGS!$K11=\"\"),0,IF((READINGS!$L11-READINGS!$K11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L11-READINGS!$K11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L11-READINGS!$K11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L11-READINGS!$K11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L11-READINGS!$K11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$L11-READINGS!$K11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M11=\"\",READINGS!$L11=\"\"),0,IF((READINGS!$M11-READINGS!$L11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M11-READINGS!$L11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M11-READINGS!$L11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M11-READINGS!$L11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M11-READINGS!$L11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$M11-READINGS!$L11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N11=\"\",READINGS!$M11=\"\"),0,IF((READINGS!$N11-READINGS!$M11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N11-READINGS!$M11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N11-READINGS!$M11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N11-READINGS!$M11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N11-READINGS!$M11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$N11-READINGS!$M11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O11=\"\",READINGS!$N11=\"\"),0,IF((READINGS!$O11-READINGS!$N11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O11-READINGS!$N11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O11-READINGS!$N11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O11-READINGS!$N11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O11-READINGS!$N11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$O11-READINGS!$N11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P11=\"\",READINGS!$O11=\"\"),0,IF((READINGS!$P11-READINGS!$O11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P11-READINGS!$O11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P11-READINGS!$O11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P11-READINGS!$O11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P11-READINGS!$O11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$P11-READINGS!$O11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q11=\"\",READINGS!$P11=\"\"),0,IF((READINGS!$Q11-READINGS!$P11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q11-READINGS!$P11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q11-READINGS!$P11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q11-READINGS!$P11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q11-READINGS!$P11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q11-READINGS!$P11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R11=\"\",READINGS!$Q11=\"\"),0,IF((READINGS!$R11-READINGS!$Q11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R11-READINGS!$Q11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R11-READINGS!$Q11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R11-READINGS!$Q11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R11-READINGS!$Q11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$R11-READINGS!$Q11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S11=\"\",READINGS!$R11=\"\"),0,IF((READINGS!$S11-READINGS!$R11)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S11-READINGS!$R11)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S11-READINGS!$R11)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S11-READINGS!$R11),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S11-READINGS!$R11)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),((READINGS!$S11-READINGS!$R11)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D11=\"\",READINGS!$C11=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E11=\"\",READINGS!$D11=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F11=\"\",READINGS!$E11=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G11=\"\",READINGS!$F11=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H11=\"\",READINGS!$G11=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I11=\"\",READINGS!$H11=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J11=\"\",READINGS!$I11=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K11=\"\",READINGS!$J11=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L11=\"\",READINGS!$K11=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M11=\"\",READINGS!$L11=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N11=\"\",READINGS!$M11=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O11=\"\",READINGS!$N11=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P11=\"\",READINGS!$O11=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q11=\"\",READINGS!$P11=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R11=\"\",READINGS!$Q11=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S11=\"\",READINGS!$R11=\"\"),0,1)","v":0}]
[11,{"$f":"USERS!B12","v":"Henry Graham"},"PAID","PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D12=\"\",READINGS!$C12=\"\"),0,IF((READINGS!$D12-READINGS!$C12)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D12-READINGS!$C12)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D12-READINGS!$C12)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D12-READINGS!$C12),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D12-READINGS!$C12)>100,((READINGS!$D12-READINGS!$C12)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$E12=\"\",READINGS!$D12=\"\"),0,IF((READINGS!$E12-READINGS!$D12)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E12-READINGS!$D12)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E12-READINGS!$D12)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E12-READINGS!$D12),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E12-READINGS!$D12)>100,((READINGS!$E12-READINGS!$D12)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$F12=\"\",READINGS!$E12=\"\"),0,IF((READINGS!$F12-READINGS!$E12)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F12-READINGS!$E12)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F12-READINGS!$E12)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F12-READINGS!$E12),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F12-READINGS!$E12)>100,((READINGS!$F12-READINGS!$E12)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G12=\"\",READINGS!$F12=\"\"),0,IF((READINGS!$G12-READINGS!$F12)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G12-READINGS!$F12)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G12-READINGS!$F12)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G12-READINGS!$F12),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G12-READINGS!$F12)>100,((READINGS!$G12-READINGS!$F12)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H12=\"\",READINGS!$G12=\"\"),0,IF((READINGS!$H12-READINGS!$G12)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H12-READINGS!$G12)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H12-READINGS!$G12)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H12-READINGS!$G12),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H12-READINGS!$G12)>100,((READINGS!$H12-READINGS!$G12)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$I12=\"\",READINGS!$H12=\"\"),0,IF((READINGS!$I12-READINGS!$H12)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I12-READINGS!$H12)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I12-READINGS!$H12)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I12-READINGS!$H12),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I12-READINGS!$H12)>100,((READINGS!$I12-READINGS!$H12)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$J12=\"\",READINGS!$I12=\"\"),0,IF((READINGS!$J12-READINGS!$I12)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J12-READINGS!$I12)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J12-READINGS!$I12)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J12-READINGS!$I12),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J12-READINGS!$I12)>100,((READINGS!$J12-READINGS!$I12)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$K12=\"\",READINGS!$J12=\"\"),0,IF((READINGS!$K12-READINGS!$J12)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K12-READINGS!$J12)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K12-READINGS!$J12)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K12-READINGS!$J12),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K12-READINGS!$J12)>100,((READINGS!$K12-READINGS!$J12)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D12=\"\",READINGS!$C12=\"\"),0,IF((READINGS!$D12-READINGS!$C12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D12-READINGS!$C12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D12-READINGS!$C12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D12-READINGS!$C12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D12-READINGS!$C12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$D12-READINGS!$C12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$E12=\"\",READINGS!$D12=\"\"),0,IF((READINGS!$E12-READINGS!$D12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E12-READINGS!$D12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E12-READINGS!$D12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E12-READINGS!$D12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E12-READINGS!$D12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$E12-READINGS!$D12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$F12=\"\",READINGS!$E12=\"\"),0,IF((READINGS!$F12-READINGS!$E12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F12-READINGS!$E12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F12-READINGS!$E12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F12-READINGS!$E12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F12-READINGS!$E12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$F12-READINGS!$E12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G12=\"\",READINGS!$F12=\"\"),0,IF((READINGS!$G12-READINGS!$F12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G12-READINGS!$F12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G12-READINGS!$F12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G12-READINGS!$F12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G12-READINGS!$F12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$G12-READINGS!$F12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H12=\"\",READINGS!$G12=\"\"),0,IF((READINGS!$H12-READINGS!$G12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H12-READINGS!$G12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H12-READINGS!$G12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H12-READINGS!$G12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H12-READINGS!$G12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$H12-READINGS!$G12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$I12=\"\",READINGS!$H12=\"\"),0,IF((READINGS!$I12-READINGS!$H12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I12-READINGS!$H12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I12-READINGS!$H12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I12-READINGS!$H12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I12-READINGS!$H12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$I12-READINGS!$H12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$J12=\"\",READINGS!$I12=\"\"),0,IF((READINGS!$J12-READINGS!$I12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J12-READINGS!$I12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J12-READINGS!$I12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J12-READINGS!$I12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J12-READINGS!$I12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$J12-READINGS!$I12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$K12=\"\",READINGS!$J12=\"\"),0,IF((READINGS!$K12-READINGS!$J12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K12-READINGS!$J12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K12-READINGS!$J12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K12-READINGS!$J12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K12-READINGS!$J12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$K12-READINGS!$J12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L12=\"\",READINGS!$K12=\"\"),0,IF((READINGS!$L12-READINGS!$K12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L12-READINGS!$K12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L12-READINGS!$K12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L12-READINGS!$K12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L12-READINGS!$K12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$L12-READINGS!$K12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M12=\"\",READINGS!$L12=\"\"),0,IF((READINGS!$M12-READINGS!$L12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M12-READINGS!$L12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M12-READINGS!$L12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M12-READINGS!$L12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M12-READINGS!$L12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$M12-READINGS!$L12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N12=\"\",READINGS!$M12=\"\"),0,IF((READINGS!$N12-READINGS!$M12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N12-READINGS!$M12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N12-READINGS!$M12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N12-READINGS!$M12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N12-READINGS!$M12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$N12-READINGS!$M12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O12=\"\",READINGS!$N12=\"\"),0,IF((READINGS!$O12-READINGS!$N12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O12-READINGS!$N12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O12-READINGS!$N12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O12-READINGS!$N12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O12-READINGS!$N12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$O12-READINGS!$N12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P12=\"\",READINGS!$O12=\"\"),0,IF((READINGS!$P12-READINGS!$O12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P12-READINGS!$O12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P12-READINGS!$O12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P12-READINGS!$O12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P12-READINGS!$O12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$P12-READINGS!$O12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q12=\"\",READINGS!$P12=\"\"),0,IF((READINGS!$Q12-READINGS!$P12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q12-READINGS!$P12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q12-READINGS!$P12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q12-READINGS!$P12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q12-READINGS!$P12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q12-READINGS!$P12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R12=\"\",READINGS!$Q12=\"\"),0,IF((READINGS!$R12-READINGS!$Q12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R12-READINGS!$Q12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R12-READINGS!$Q12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R12-READINGS!$Q12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R12-READINGS!$Q12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$R12-READINGS!$Q12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S12=\"\",READINGS!$R12=\"\"),0,IF((READINGS!$S12-READINGS!$R12)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S12-READINGS!$R12)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S12-READINGS!$R12)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S12-READINGS!$R12),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S12-READINGS!$R12)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),((READINGS!$S12-READINGS!$R12)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D12=\"\",READINGS!$C12=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E12=\"\",READINGS!$D12=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F12=\"\",READINGS!$E12=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G12=\"\",READINGS!$F12=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H12=\"\",READINGS!$G12=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I12=\"\",READINGS!$H12=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J12=\"\",READINGS!$I12=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K12=\"\",READINGS!$J12=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L12=\"\",READINGS!$K12=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M12=\"\",READINGS!$L12=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N12=\"\",READINGS!$M12=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O12=\"\",READINGS!$N12=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P12=\"\",READINGS!$O12=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q12=\"\",READINGS!$P12=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R12=\"\",READINGS!$Q12=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S12=\"\",READINGS!$R12=\"\"),0,1)","v":0}]
[12,{"$f":"USERS!B13","v":"Isabella Warren"},"PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D13=\"\",READINGS!$C13=\"\"),0,IF((READINGS!$D13-READINGS!$C13)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D13-READINGS!$C13)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D13-READINGS!$C13)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D13-READINGS!$C13),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D13-READINGS!$C13)>100,((READINGS!$D13-READINGS!$C13)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$E13=\"\",READINGS!$D13=\"\"),0,IF((READINGS!$E13-READINGS!$D13)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E13-READINGS!$D13)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E13-READINGS!$D13)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E13-READINGS!$D13),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E13-READINGS!$D13)>100,((READINGS!$E13-READINGS!$D13)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$F13=\"\",READINGS!$E13=\"\"),0,IF((READINGS!$F13-READINGS!$E13)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F13-READINGS!$E13)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F13-READINGS!$E13)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F13-READINGS!$E13),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F13-READINGS!$E13)>100,((READINGS!$F13-READINGS!$E13)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$G13=\"\",READINGS!$F13=\"\"),0,IF((READINGS!$G13-READINGS!$F13)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G13-READINGS!$F13)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G13-READINGS!$F13)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G13-READINGS!$F13),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G13-READINGS!$F13)>100,((READINGS!$G13-READINGS!$F13)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$H13=\"\",READINGS!$G13=\"\"),0,IF((READINGS!$H13-READINGS!$G13)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H13-READINGS!$G13)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H13-READINGS!$G13)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H13-READINGS!$G13),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H13-READINGS!$G13)>100,((READINGS!$H13-READINGS!$G13)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"IF(OR(READINGS!$I13=\"\",READINGS!$H13=\"\"),0,IF((READINGS!$I13-READINGS!$H13)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I13-READINGS!$H13)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I13-READINGS!$H13)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I13-READINGS!$H13),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I13-READINGS!$H13)>100,((READINGS!$I13-READINGS!$H13)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$J13=\"\",READINGS!$I13=\"\"),0,IF((READINGS!$J13-READINGS!$I13)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J13-READINGS!$I13)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J13-READINGS!$I13)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J13-READINGS!$I13),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J13-READINGS!$I13)>100,((READINGS!$J13-READINGS!$I13)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"IF(OR(READINGS!$K13=\"\",READINGS!$J13=\"\"),0,IF((READINGS!$K13-READINGS!$J13)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K13-READINGS!$J13)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K13-READINGS!$J13)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K13-READINGS!$J13),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K13-READINGS!$J13)>100,((READINGS!$K13-READINGS!$J13)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D13=\"\",READINGS!$C13=\"\"),0,IF((READINGS!$D13-READINGS!$C13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D13-READINGS!$C13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D13-READINGS!$C13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D13-READINGS!$C13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D13-READINGS!$C13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$D13-READINGS!$C13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$E13=\"\",READINGS!$D13=\"\"),0,IF((READINGS!$E13-READINGS!$D13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E13-READINGS!$D13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E13-READINGS!$D13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E13-READINGS!$D13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E13-READINGS!$D13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$E13-READINGS!$D13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$F13=\"\",READINGS!$E13=\"\"),0,IF((READINGS!$F13-READINGS!$E13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F13-READINGS!$E13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F13-READINGS!$E13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F13-READINGS!$E13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F13-READINGS!$E13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$F13-READINGS!$E13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$G13=\"\",READINGS!$F13=\"\"),0,IF((READINGS!$G13-READINGS!$F13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G13-READINGS!$F13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G13-READINGS!$F13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G13-READINGS!$F13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G13-READINGS!$F13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$G13-READINGS!$F13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$H13=\"\",READINGS!$G13=\"\"),0,IF((READINGS!$H13-READINGS!$G13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H13-READINGS!$G13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H13-READINGS!$G13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H13-READINGS!$G13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H13-READINGS!$G13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$H13-READINGS!$G13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"IF(OR(READINGS!$I13=\"\",READINGS!$H13=\"\"),0,IF((READINGS!$I13-READINGS!$H13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I13-READINGS!$H13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I13-READINGS!$H13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I13-READINGS!$H13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I13-READINGS!$H13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$I13-READINGS!$H13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$J13=\"\",READINGS!$I13=\"\"),0,IF((READINGS!$J13-READINGS!$I13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J13-READINGS!$I13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J13-READINGS!$I13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J13-READINGS!$I13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J13-READINGS!$I13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$J13-READINGS!$I13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"IF(OR(READINGS!$K13=\"\",READINGS!$J13=\"\"),0,IF((READINGS!$K13-READINGS!$J13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K13-READINGS!$J13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K13-READINGS!$J13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K13-READINGS!$J13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K13-READINGS!$J13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$K13-READINGS!$J13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L13=\"\",READINGS!$K13=\"\"),0,IF((READINGS!$L13-READINGS!$K13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L13-READINGS!$K13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L13-READINGS!$K13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L13-READINGS!$K13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L13-READINGS!$K13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$L13-READINGS!$K13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M13=\"\",READINGS!$L13=\"\"),0,IF((READINGS!$M13-READINGS!$L13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M13-READINGS!$L13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M13-READINGS!$L13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M13-READINGS!$L13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M13-READINGS!$L13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$M13-READINGS!$L13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N13=\"\",READINGS!$M13=\"\"),0,IF((READINGS!$N13-READINGS!$M13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N13-READINGS!$M13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N13-READINGS!$M13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N13-READINGS!$M13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N13-READINGS!$M13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$N13-READINGS!$M13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O13=\"\",READINGS!$N13=\"\"),0,IF((READINGS!$O13-READINGS!$N13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O13-READINGS!$N13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O13-READINGS!$N13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O13-READINGS!$N13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O13-READINGS!$N13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$O13-READINGS!$N13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P13=\"\",READINGS!$O13=\"\"),0,IF((READINGS!$P13-READINGS!$O13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P13-READINGS!$O13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P13-READINGS!$O13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P13-READINGS!$O13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P13-READINGS!$O13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$P13-READINGS!$O13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q13=\"\",READINGS!$P13=\"\"),0,IF((READINGS!$Q13-READINGS!$P13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q13-READINGS!$P13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q13-READINGS!$P13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q13-READINGS!$P13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q13-READINGS!$P13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q13-READINGS!$P13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R13=\"\",READINGS!$Q13=\"\"),0,IF((READINGS!$R13-READINGS!$Q13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R13-READINGS!$Q13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R13-READINGS!$Q13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R13-READINGS!$Q13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R13-READINGS!$Q13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$R13-READINGS!$Q13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S13=\"\",READINGS!$R13=\"\"),0,IF((READINGS!$S13-READINGS!$R13)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S13-READINGS!$R13)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S13-READINGS!$R13)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S13-READINGS!$R13),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S13-READINGS!$R13)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),((READINGS!$S13-READINGS!$R13)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D13=\"\",READINGS!$C13=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E13=\"\",READINGS!$D13=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F13=\"\",READINGS!$E13=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G13=\"\",READINGS!$F13=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H13=\"\",READINGS!$G13=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I13=\"\",READINGS!$H13=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J13=\"\",READINGS!$I13=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K13=\"\",READINGS!$J13=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L13=\"\",READINGS!$K13=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M13=\"\",READINGS!$L13=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N13=\"\",READINGS!$M13=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O13=\"\",READINGS!$N13=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P13=\"\",READINGS!$O13=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q13=\"\",READINGS!$P13=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R13=\"\",READINGS!$Q13=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S13=\"\",READINGS!$R13=\"\"),0,1)","v":0}]
[13,{"$f":"USERS!B14","v":"Henry Wallace"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D14=\"\",READINGS!$C14=\"\"),0,IF((READINGS!$D14-READINGS!$C14)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D14-READINGS!$C14)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D14-READINGS!$C14)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D14-READINGS!$C14),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D14-READINGS!$C14)>100,((READINGS!$D14-READINGS!$C14)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$E14=\"\",READINGS!$D14=\"\"),0,IF((READINGS!$E14-READINGS!$D14)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E14-READINGS!$D14)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E14-READINGS!$D14)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E14-READINGS!$D14),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E14-READINGS!$D14)>100,((READINGS!$E14-READINGS!$D14)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$F14=\"\",READINGS!$E14=\"\"),0,IF((READINGS!$F14-READINGS!$E14)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F14-READINGS!$E14)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F14-READINGS!$E14)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F14-READINGS!$E14),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F14-READINGS!$E14)>100,((READINGS!$F14-READINGS!$E14)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$G14=\"\",READINGS!$F14=\"\"),0,IF((READINGS!$G14-READINGS!$F14)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G14-READINGS!$F14)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G14-READINGS!$F14)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G14-READINGS!$F14),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G14-READINGS!$F14)>100,((READINGS!$G14-READINGS!$F14)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$H14=\"\",READINGS!$G14=\"\"),0,IF((READINGS!$H14-READINGS!$G14)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H14-READINGS!$G14)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H14-READINGS!$G14)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H14-READINGS!$G14),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H14-READINGS!$G14)>100,((READINGS!$H14-READINGS!$G14)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$I14=\"\",READINGS!$H14=\"\"),0,IF((READINGS!$I14-READINGS!$H14)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I14-READINGS!$H14)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I14-READINGS!$H14)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I14-READINGS!$H14),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I14-READINGS!$H14)>100,((READINGS!$I14-READINGS!$H14)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$J14=\"\",READINGS!$I14=\"\"),0,IF((READINGS!$J14-READINGS!$I14)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J14-READINGS!$I14)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J14-READINGS!$I14)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J14-READINGS!$I14),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J14-READINGS!$I14)>100,((READINGS!$J14-READINGS!$I14)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$K14=\"\",READINGS!$J14=\"\"),0,IF((READINGS!$K14-READINGS!$J14)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K14-READINGS!$J14)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K14-READINGS!$J14)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K14-READINGS!$J14),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K14-READINGS!$J14)>100,((READINGS!$K14-READINGS!$J14)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D14=\"\",READINGS!$C14=\"\"),0,IF((READINGS!$D14-READINGS!$C14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D14-READINGS!$C14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D14-READINGS!$C14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D14-READINGS!$C14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D14-READINGS!$C14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$D14-READINGS!$C14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$E14=\"\",READINGS!$D14=\"\"),0,IF((READINGS!$E14-READINGS!$D14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E14-READINGS!$D14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E14-READINGS!$D14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E14-READINGS!$D14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E14-READINGS!$D14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$E14-READINGS!$D14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$F14=\"\",READINGS!$E14=\"\"),0,IF((READINGS!$F14-READINGS!$E14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F14-READINGS!$E14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F14-READINGS!$E14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F14-READINGS!$E14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F14-READINGS!$E14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$F14-READINGS!$E14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$G14=\"\",READINGS!$F14=\"\"),0,IF((READINGS!$G14-READINGS!$F14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G14-READINGS!$F14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G14-READINGS!$F14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G14-READINGS!$F14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G14-READINGS!$F14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$G14-READINGS!$F14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$H14=\"\",READINGS!$G14=\"\"),0,IF((READINGS!$H14-READINGS!$G14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H14-READINGS!$G14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H14-READINGS!$G14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H14-READINGS!$G14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H14-READINGS!$G14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$H14-READINGS!$G14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$I14=\"\",READINGS!$H14=\"\"),0,IF((READINGS!$I14-READINGS!$H14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I14-READINGS!$H14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I14-READINGS!$H14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I14-READINGS!$H14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I14-READINGS!$H14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$I14-READINGS!$H14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$J14=\"\",READINGS!$I14=\"\"),0,IF((READINGS!$J14-READINGS!$I14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J14-READINGS!$I14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J14-READINGS!$I14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J14-READINGS!$I14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J14-READINGS!$I14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$J14-READINGS!$I14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"IF(OR(READINGS!$K14=\"\",READINGS!$J14=\"\"),0,IF((READINGS!$K14-READINGS!$J14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K14-READINGS!$J14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K14-READINGS!$J14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K14-READINGS!$J14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K14-READINGS!$J14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$K14-READINGS!$J14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L14=\"\",READINGS!$K14=\"\"),0,IF((READINGS!$L14-READINGS!$K14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L14-READINGS!$K14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L14-READINGS!$K14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L14-READINGS!$K14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L14-READINGS!$K14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$L14-READINGS!$K14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M14=\"\",READINGS!$L14=\"\"),0,IF((READINGS!$M14-READINGS!$L14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M14-READINGS!$L14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M14-READINGS!$L14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M14-READINGS!$L14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M14-READINGS!$L14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$M14-READINGS!$L14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N14=\"\",READINGS!$M14=\"\"),0,IF((READINGS!$N14-READINGS!$M14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N14-READINGS!$M14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N14-READINGS!$M14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N14-READINGS!$M14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N14-READINGS!$M14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$N14-READINGS!$M14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O14=\"\",READINGS!$N14=\"\"),0,IF((READINGS!$O14-READINGS!$N14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O14-READINGS!$N14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O14-READINGS!$N14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O14-READINGS!$N14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O14-READINGS!$N14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$O14-READINGS!$N14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P14=\"\",READINGS!$O14=\"\"),0,IF((READINGS!$P14-READINGS!$O14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P14-READINGS!$O14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P14-READINGS!$O14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P14-READINGS!$O14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P14-READINGS!$O14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$P14-READINGS!$O14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q14=\"\",READINGS!$P14=\"\"),0,IF((READINGS!$Q14-READINGS!$P14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q14-READINGS!$P14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q14-READINGS!$P14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q14-READINGS!$P14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q14-READINGS!$P14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q14-READINGS!$P14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R14=\"\",READINGS!$Q14=\"\"),0,IF((READINGS!$R14-READINGS!$Q14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R14-READINGS!$Q14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R14-READINGS!$Q14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R14-READINGS!$Q14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R14-READINGS!$Q14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$R14-READINGS!$Q14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S14=\"\",READINGS!$R14=\"\"),0,IF((READINGS!$S14-READINGS!$R14)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S14-READINGS!$R14)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S14-READINGS!$R14)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S14-READINGS!$R14),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S14-READINGS!$R14)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),((READINGS!$S14-READINGS!$R14)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D14=\"\",READINGS!$C14=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E14=\"\",READINGS!$D14=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F14=\"\",READINGS!$E14=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G14=\"\",READINGS!$F14=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H14=\"\",READINGS!$G14=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I14=\"\",READINGS!$H14=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J14=\"\",READINGS!$I14=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K14=\"\",READINGS!$J14=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L14=\"\",READINGS!$K14=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M14=\"\",READINGS!$L14=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N14=\"\",READINGS!$M14=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O14=\"\",READINGS!$N14=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P14=\"\",READINGS!$O14=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q14=\"\",READINGS!$P14=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R14=\"\",READINGS!$Q14=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S14=\"\",READINGS!$R14=\"\"),0,1)","v":0}]
[14,{"$f":"USERS!B15","v":"Sophia Stewart"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D15=\"\",READINGS!$C15=\"\"),0,IF((READINGS!$D15-READINGS!$C15)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D15-READINGS!$C15)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D15-READINGS!$C15)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D15-READINGS!$C15),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D15-READINGS!$C15)>100,((READINGS!$D15-READINGS!$C15)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$E15=\"\",READINGS!$D15=\"\"),0,IF((READINGS!$E15-READINGS!$D15)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E15-READINGS!$D15)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E15-READINGS!$D15)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E15-READINGS!$D15),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E15-READINGS!$D15)>100,((READINGS!$E15-READINGS!$D15)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$F15=\"\",READINGS!$E15=\"\"),0,IF((READINGS!$F15-READINGS!$E15)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F15-READINGS!$E15)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F15-READINGS!$E15)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F15-READINGS!$E15),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F15-READINGS!$E15)>100,((READINGS!$F15-READINGS!$E15)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"IF(OR(READINGS!$G15=\"\",READINGS!$F15=\"\"),0,IF((READINGS!$G15-READINGS!$F15)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G15-READINGS!$F15)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G15-READINGS!$F15)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G15-READINGS!$F15),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G15-READINGS!$F15)>100,((READINGS!$G15-READINGS!$F15)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"IF(OR(READINGS!$H15=\"\",READINGS!$G15=\"\"),0,IF((READINGS!$H15-READINGS!$G15)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H15-READINGS!$G15)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H15-READINGS!$G15)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H15-READINGS!$G15),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H15-READINGS!$G15)>100,((READINGS!$H15-READINGS!$G15)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$I15=\"\",READINGS!$H15=\"\"),0,IF((READINGS!$I15-READINGS!$H15)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I15-READINGS!$H15)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I15-READINGS!$H15)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I15-READINGS!$H15),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I15-READINGS!$H15)>100,((READINGS!$I15-READINGS!$H15)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$J15=\"\",READINGS!$I15=\"\"),0,IF((READINGS!$J15-READINGS!$I15)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J15-READINGS!$I15)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J15-READINGS!$I15)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J15-READINGS!$I15),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J15-READINGS!$I15)>100,((READINGS!$J15-READINGS!$I15)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$K15=\"\",READINGS!$J15=\"\"),0,IF((READINGS!$K15-READINGS!$J15)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K15-READINGS!$J15)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K15-READINGS!$J15)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K15-READINGS!$J15),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K15-READINGS!$J15)>100,((READINGS!$K15-READINGS!$J15)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D15=\"\",READINGS!$C15=\"\"),0,IF((READINGS!$D15-READINGS!$C15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D15-READINGS!$C15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D15-READINGS!$C15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D15-READINGS!$C15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D15-READINGS!$C15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$D15-READINGS!$C15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$E15=\"\",READINGS!$D15=\"\"),0,IF((READINGS!$E15-READINGS!$D15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E15-READINGS!$D15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E15-READINGS!$D15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E15-READINGS!$D15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E15-READINGS!$D15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$E15-READINGS!$D15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$F15=\"\",READINGS!$E15=\"\"),0,IF((READINGS!$F15-READINGS!$E15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F15-READINGS!$E15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F15-READINGS!$E15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F15-READINGS!$E15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F15-READINGS!$E15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$F15-READINGS!$E15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"IF(OR(READINGS!$G15=\"\",READINGS!$F15=\"\"),0,IF((READINGS!$G15-READINGS!$F15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G15-READINGS!$F15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G15-READINGS!$F15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G15-READINGS!$F15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G15-READINGS!$F15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$G15-READINGS!$F15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"IF(OR(READINGS!$H15=\"\",READINGS!$G15=\"\"),0,IF((READINGS!$H15-READINGS!$G15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H15-READINGS!$G15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H15-READINGS!$G15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H15-READINGS!$G15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H15-READINGS!$G15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$H15-READINGS!$G15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$I15=\"\",READINGS!$H15=\"\"),0,IF((READINGS!$I15-READINGS!$H15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I15-READINGS!$H15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I15-READINGS!$H15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I15-READINGS!$H15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I15-READINGS!$H15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$I15-READINGS!$H15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$J15=\"\",READINGS!$I15=\"\"),0,IF((READINGS!$J15-READINGS!$I15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J15-READINGS!$I15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J15-READINGS!$I15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J15-READINGS!$I15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J15-READINGS!$I15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$J15-READINGS!$I15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$K15=\"\",READINGS!$J15=\"\"),0,IF((READINGS!$K15-READINGS!$J15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K15-READINGS!$J15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K15-READINGS!$J15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K15-READINGS!$J15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K15-READINGS!$J15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$K15-READINGS!$J15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L15=\"\",READINGS!$K15=\"\"),0,IF((READINGS!$L15-READINGS!$K15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L15-READINGS!$K15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L15-READINGS!$K15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L15-READINGS!$K15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L15-READINGS!$K15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$L15-READINGS!$K15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M15=\"\",READINGS!$L15=\"\"),0,IF((READINGS!$M15-READINGS!$L15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M15-READINGS!$L15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M15-READINGS!$L15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M15-READINGS!$L15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M15-READINGS!$L15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$M15-READINGS!$L15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N15=\"\",READINGS!$M15=\"\"),0,IF((READINGS!$N15-READINGS!$M15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N15-READINGS!$M15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N15-READINGS!$M15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N15-READINGS!$M15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N15-READINGS!$M15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$N15-READINGS!$M15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O15=\"\",READINGS!$N15=\"\"),0,IF((READINGS!$O15-READINGS!$N15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O15-READINGS!$N15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O15-READINGS!$N15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O15-READINGS!$N15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O15-READINGS!$N15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$O15-READINGS!$N15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P15=\"\",READINGS!$O15=\"\"),0,IF((READINGS!$P15-READINGS!$O15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P15-READINGS!$O15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P15-READINGS!$O15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P15-READINGS!$O15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P15-READINGS!$O15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$P15-READINGS!$O15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q15=\"\",READINGS!$P15=\"\"),0,IF((READINGS!$Q15-READINGS!$P15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q15-READINGS!$P15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q15-READINGS!$P15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q15-READINGS!$P15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q15-READINGS!$P15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q15-READINGS!$P15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R15=\"\",READINGS!$Q15=\"\"),0,IF((READINGS!$R15-READINGS!$Q15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R15-READINGS!$Q15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R15-READINGS!$Q15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R15-READINGS!$Q15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R15-READINGS!$Q15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$R15-READINGS!$Q15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S15=\"\",READINGS!$R15=\"\"),0,IF((READINGS!$S15-READINGS!$R15)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S15-READINGS!$R15)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S15-READINGS!$R15)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S15-READINGS!$R15),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S15-READINGS!$R15)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),((READINGS!$S15-READINGS!$R15)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D15=\"\",READINGS!$C15=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E15=\"\",READINGS!$D15=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F15=\"\",READINGS!$E15=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G15=\"\",READINGS!$F15=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H15=\"\",READINGS!$G15=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I15=\"\",READINGS!$H15=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J15=\"\",READINGS!$I15=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K15=\"\",READINGS!$J15=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L15=\"\",READINGS!$K15=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M15=\"\",READINGS!$L15=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N15=\"\",READINGS!$M15=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O15=\"\",READINGS!$N15=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P15=\"\",READINGS!$O15=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q15=\"\",READINGS!$P15=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R15=\"\",READINGS!$Q15=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S15=\"\",READINGS!$R15=\"\"),0,1)","v":0}]
[15,{"$f":"USERS!B16","v":"David Wallace"},"PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D16=\"\",READINGS!$C16=\"\"),0,IF((READINGS!$D16-READINGS!$C16)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D16-READINGS!$C16)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D16-READINGS!$C16)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D16-READINGS!$C16),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D16-READINGS!$C16)>100,((READINGS!$D16-READINGS!$C16)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$E16=\"\",READINGS!$D16=\"\"),0,IF((READINGS!$E16-READINGS!$D16)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E16-READINGS!$D16)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E16-READINGS!$D16)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E16-READINGS!$D16),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E16-READINGS!$D16)>100,((READINGS!$E16-READINGS!$D16)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$F16=\"\",READINGS!$E16=\"\"),0,IF((READINGS!$F16-READINGS!$E16)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F16-READINGS!$E16)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F16-READINGS!$E16)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F16-READINGS!$E16),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F16-READINGS!$E16)>100,((READINGS!$F16-READINGS!$E16)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$G16=\"\",READINGS!$F16=\"\"),0,IF((READINGS!$G16-READINGS!$F16)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G16-READINGS!$F16)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G16-READINGS!$F16)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G16-READINGS!$F16),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G16-READINGS!$F16)>100,((READINGS!$G16-READINGS!$F16)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$H16=\"\",READINGS!$G16=\"\"),0,IF((READINGS!$H16-READINGS!$G16)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H16-READINGS!$G16)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H16-READINGS!$G16)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H16-READINGS!$G16),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H16-READINGS!$G16)>100,((READINGS!$H16-READINGS!$G16)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$I16=\"\",READINGS!$H16=\"\"),0,IF((READINGS!$I16-READINGS!$H16)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I16-READINGS!$H16)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I16-READINGS!$H16)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I16-READINGS!$H16),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I16-READINGS!$H16)>100,((READINGS!$I16-READINGS!$H16)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$J16=\"\",READINGS!$I16=\"\"),0,IF((READINGS!$J16-READINGS!$I16)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J16-READINGS!$I16)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J16-READINGS!$I16)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J16-READINGS!$I16),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J16-READINGS!$I16)>100,((READINGS!$J16-READINGS!$I16)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$K16=\"\",READINGS!$J16=\"\"),0,IF((READINGS!$K16-READINGS!$J16)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K16-READINGS!$J16)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K16-READINGS!$J16)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K16-READINGS!$J16),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K16-READINGS!$J16)>100,((READINGS!$K16-READINGS!$J16)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D16=\"\",READINGS!$C16=\"\"),0,IF((READINGS!$D16-READINGS!$C16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D16-READINGS!$C16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D16-READINGS!$C16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D16-READINGS!$C16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D16-READINGS!$C16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$D16-READINGS!$C16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$E16=\"\",READINGS!$D16=\"\"),0,IF((READINGS!$E16-READINGS!$D16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E16-READINGS!$D16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E16-READINGS!$D16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E16-READINGS!$D16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E16-READINGS!$D16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$E16-READINGS!$D16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$F16=\"\",READINGS!$E16=\"\"),0,IF((READINGS!$F16-READINGS!$E16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F16-READINGS!$E16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F16-READINGS!$E16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F16-READINGS!$E16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F16-READINGS!$E16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$F16-READINGS!$E16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$G16=\"\",READINGS!$F16=\"\"),0,IF((READINGS!$G16-READINGS!$F16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G16-READINGS!$F16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G16-READINGS!$F16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G16-READINGS!$F16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G16-READINGS!$F16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$G16-READINGS!$F16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$H16=\"\",READINGS!$G16=\"\"),0,IF((READINGS!$H16-READINGS!$G16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H16-READINGS!$G16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H16-READINGS!$G16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H16-READINGS!$G16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H16-READINGS!$G16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$H16-READINGS!$G16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$I16=\"\",READINGS!$H16=\"\"),0,IF((READINGS!$I16-READINGS!$H16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I16-READINGS!$H16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I16-READINGS!$H16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I16-READINGS!$H16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I16-READINGS!$H16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$I16-READINGS!$H16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$J16=\"\",READINGS!$I16=\"\"),0,IF((READINGS!$J16-READINGS!$I16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J16-READINGS!$I16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J16-READINGS!$I16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J16-READINGS!$I16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J16-READINGS!$I16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$J16-READINGS!$I16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$K16=\"\",READINGS!$J16=\"\"),0,IF((READINGS!$K16-READINGS!$J16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K16-READINGS!$J16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K16-READINGS!$J16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K16-READINGS!$J16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K16-READINGS!$J16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$K16-READINGS!$J16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L16=\"\",READINGS!$K16=\"\"),0,IF((READINGS!$L16-READINGS!$K16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L16-READINGS!$K16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L16-READINGS!$K16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L16-READINGS!$K16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L16-READINGS!$K16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$L16-READINGS!$K16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M16=\"\",READINGS!$L16=\"\"),0,IF((READINGS!$M16-READINGS!$L16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M16-READINGS!$L16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M16-READINGS!$L16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M16-READINGS!$L16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M16-READINGS!$L16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$M16-READINGS!$L16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N16=\"\",READINGS!$M16=\"\"),0,IF((READINGS!$N16-READINGS!$M16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N16-READINGS!$M16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N16-READINGS!$M16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N16-READINGS!$M16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N16-READINGS!$M16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$N16-READINGS!$M16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O16=\"\",READINGS!$N16=\"\"),0,IF((READINGS!$O16-READINGS!$N16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O16-READINGS!$N16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O16-READINGS!$N16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O16-READINGS!$N16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O16-READINGS!$N16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$O16-READINGS!$N16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P16=\"\",READINGS!$O16=\"\"),0,IF((READINGS!$P16-READINGS!$O16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P16-READINGS!$O16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P16-READINGS!$O16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P16-READINGS!$O16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P16-READINGS!$O16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$P16-READINGS!$O16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q16=\"\",READINGS!$P16=\"\"),0,IF((READINGS!$Q16-READINGS!$P16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q16-READINGS!$P16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q16-READINGS!$P16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q16-READINGS!$P16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q16-READINGS!$P16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q16-READINGS!$P16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R16=\"\",READINGS!$Q16=\"\"),0,IF((READINGS!$R16-READINGS!$Q16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R16-READINGS!$Q16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R16-READINGS!$Q16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R16-READINGS!$Q16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R16-READINGS!$Q16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$R16-READINGS!$Q16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S16=\"\",READINGS!$R16=\"\"),0,IF((READINGS!$S16-READINGS!$R16)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S16-READINGS!$R16)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S16-READINGS!$R16)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S16-READINGS!$R16),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S16-READINGS!$R16)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),((READINGS!$S16-READINGS!$R16)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D16=\"\",READINGS!$C16=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E16=\"\",READINGS!$D16=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F16=\"\",READINGS!$E16=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G16=\"\",READINGS!$F16=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H16=\"\",READINGS!$G16=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I16=\"\",READINGS!$H16=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J16=\"\",READINGS!$I16=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K16=\"\",READINGS!$J16=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L16=\"\",READINGS!$K16=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M16=\"\",READINGS!$L16=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N16=\"\",READINGS!$M16=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O16=\"\",READINGS!$N16=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P16=\"\",READINGS!$O16=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q16=\"\",READINGS!$P16=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R16=\"\",READINGS!$Q16=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S16=\"\",READINGS!$R16=\"\"),0,1)","v":0}]
[16,{"$f":"USERS!B17","v":"Victoria Douglas"},"PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D17=\"\",READINGS!$C17=\"\"),0,IF((READINGS!$D17-READINGS!$C17)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D17-READINGS!$C17)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D17-READINGS!$C17)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D17-READINGS!$C17),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D17-READINGS!$C17)>100,((READINGS!$D17-READINGS!$C17)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$E17=\"\",READINGS!$D17=\"\"),0,IF((READINGS!$E17-READINGS!$D17)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E17-READINGS!$D17)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E17-READINGS!$D17)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E17-READINGS!$D17),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E17-READINGS!$D17)>100,((READINGS!$E17-READINGS!$D17)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$F17=\"\",READINGS!$E17=\"\"),0,IF((READINGS!$F17-READINGS!$E17)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F17-READINGS!$E17)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F17-READINGS!$E17)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F17-READINGS!$E17),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F17-READINGS!$E17)>100,((READINGS!$F17-READINGS!$E17)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$G17=\"\",READINGS!$F17=\"\"),0,IF((READINGS!$G17-READINGS!$F17)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G17-READINGS!$F17)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G17-READINGS!$F17)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G17-READINGS!$F17),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G17-READINGS!$F17)>100,((READINGS!$G17-READINGS!$F17)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$H17=\"\",READINGS!$G17=\"\"),0,IF((READINGS!$H17-READINGS!$G17)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H17-READINGS!$G17)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H17-READINGS!$G17)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H17-READINGS!$G17),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H17-READINGS!$G17)>100,((READINGS!$H17-READINGS!$G17)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$I17=\"\",READINGS!$H17=\"\"),0,IF((READINGS!$I17-READINGS!$H17)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I17-READINGS!$H17)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I17-READINGS!$H17)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I17-READINGS!$H17),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I17-READINGS!$H17)>100,((READINGS!$I17-READINGS!$H17)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$J17=\"\",READINGS!$I17=\"\"),0,IF((READINGS!$J17-READINGS!$I17)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J17-READINGS!$I17)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J17-READINGS!$I17)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J17-READINGS!$I17),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J17-READINGS!$I17)>100,((READINGS!$J17-READINGS!$I17)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$K17=\"\",READINGS!$J17=\"\"),0,IF((READINGS!$K17-READINGS!$J17)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K17-READINGS!$J17)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K17-READINGS!$J17)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K17-READINGS!$J17),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K17-READINGS!$J17)>100,((READINGS!$K17-READINGS!$J17)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D17=\"\",READINGS!$C17=\"\"),0,IF((READINGS!$D17-READINGS!$C17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D17-READINGS!$C17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D17-READINGS!$C17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D17-READINGS!$C17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D17-READINGS!$C17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$D17-READINGS!$C17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$E17=\"\",READINGS!$D17=\"\"),0,IF((READINGS!$E17-READINGS!$D17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E17-READINGS!$D17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E17-READINGS!$D17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E17-READINGS!$D17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E17-READINGS!$D17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$E17-READINGS!$D17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$F17=\"\",READINGS!$E17=\"\"),0,IF((READINGS!$F17-READINGS!$E17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F17-READINGS!$E17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F17-READINGS!$E17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F17-READINGS!$E17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F17-READINGS!$E17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$F17-READINGS!$E17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$G17=\"\",READINGS!$F17=\"\"),0,IF((READINGS!$G17-READINGS!$F17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G17-READINGS!$F17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G17-READINGS!$F17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G17-READINGS!$F17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G17-READINGS!$F17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$G17-READINGS!$F17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$H17=\"\",READINGS!$G17=\"\"),0,IF((READINGS!$H17-READINGS!$G17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H17-READINGS!$G17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H17-READINGS!$G17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H17-READINGS!$G17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H17-READINGS!$G17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$H17-READINGS!$G17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$I17=\"\",READINGS!$H17=\"\"),0,IF((READINGS!$I17-READINGS!$H17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I17-READINGS!$H17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I17-READINGS!$H17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I17-READINGS!$H17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I17-READINGS!$H17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$I17-READINGS!$H17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$J17=\"\",READINGS!$I17=\"\"),0,IF((READINGS!$J17-READINGS!$I17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J17-READINGS!$I17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J17-READINGS!$I17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J17-READINGS!$I17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J17-READINGS!$I17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$J17-READINGS!$I17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$K17=\"\",READINGS!$J17=\"\"),0,IF((READINGS!$K17-READINGS!$J17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K17-READINGS!$J17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K17-READINGS!$J17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K17-READINGS!$J17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K17-READINGS!$J17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$K17-READINGS!$J17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L17=\"\",READINGS!$K17=\"\"),0,IF((READINGS!$L17-READINGS!$K17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L17-READINGS!$K17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L17-READINGS!$K17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L17-READINGS!$K17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L17-READINGS!$K17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$L17-READINGS!$K17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M17=\"\",READINGS!$L17=\"\"),0,IF((READINGS!$M17-READINGS!$L17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M17-READINGS!$L17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M17-READINGS!$L17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M17-READINGS!$L17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M17-READINGS!$L17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$M17-READINGS!$L17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N17=\"\",READINGS!$M17=\"\"),0,IF((READINGS!$N17-READINGS!$M17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N17-READINGS!$M17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N17-READINGS!$M17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N17-READINGS!$M17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N17-READINGS!$M17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$N17-READINGS!$M17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O17=\"\",READINGS!$N17=\"\"),0,IF((READINGS!$O17-READINGS!$N17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O17-READINGS!$N17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O17-READINGS!$N17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O17-READINGS!$N17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O17-READINGS!$N17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$O17-READINGS!$N17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P17=\"\",READINGS!$O17=\"\"),0,IF((READINGS!$P17-READINGS!$O17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P17-READINGS!$O17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P17-READINGS!$O17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P17-READINGS!$O17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P17-READINGS!$O17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$P17-READINGS!$O17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q17=\"\",READINGS!$P17=\"\"),0,IF((READINGS!$Q17-READINGS!$P17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q17-READINGS!$P17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q17-READINGS!$P17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q17-READINGS!$P17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q17-READINGS!$P17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q17-READINGS!$P17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R17=\"\",READINGS!$Q17=\"\"),0,IF((READINGS!$R17-READINGS!$Q17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R17-READINGS!$Q17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R17-READINGS!$Q17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R17-READINGS!$Q17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R17-READINGS!$Q17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$R17-READINGS!$Q17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S17=\"\",READINGS!$R17=\"\"),0,IF((READINGS!$S17-READINGS!$R17)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S17-READINGS!$R17)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S17-READINGS!$R17)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S17-READINGS!$R17),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S17-READINGS!$R17)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),((READINGS!$S17-READINGS!$R17)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D17=\"\",READINGS!$C17=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E17=\"\",READINGS!$D17=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F17=\"\",READINGS!$E17=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G17=\"\",READINGS!$F17=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H17=\"\",READINGS!$G17=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I17=\"\",READINGS!$H17=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J17=\"\",READINGS!$I17=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K17=\"\",READINGS!$J17=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L17=\"\",READINGS!$K17=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M17=\"\",READINGS!$L17=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N17=\"\",READINGS!$M17=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O17=\"\",READINGS!$N17=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P17=\"\",READINGS!$O17=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q17=\"\",READINGS!$P17=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R17=\"\",READINGS!$Q17=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S17=\"\",READINGS!$R17=\"\"),0,1)","v":0}]
[17,{"$f":"USERS!B18","v":"Ethan Stewart"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D18=\"\",READINGS!$C18=\"\"),0,IF((READINGS!$D18-READINGS!$C18)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D18-READINGS!$C18)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D18-READINGS!$C18)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D18-READINGS!$C18),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D18-READINGS!$C18)>100,((READINGS!$D18-READINGS!$C18)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$E18=\"\",READINGS!$D18=\"\"),0,IF((READINGS!$E18-READINGS!$D18)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E18-READINGS!$D18)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E18-READINGS!$D18)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E18-READINGS!$D18),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E18-READINGS!$D18)>100,((READINGS!$E18-READINGS!$D18)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$F18=\"\",READINGS!$E18=\"\"),0,IF((READINGS!$F18-READINGS!$E18)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F18-READINGS!$E18)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F18-READINGS!$E18)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F18-READINGS!$E18),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F18-READINGS!$E18)>100,((READINGS!$F18-READINGS!$E18)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$G18=\"\",READINGS!$F18=\"\"),0,IF((READINGS!$G18-READINGS!$F18)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G18-READINGS!$F18)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G18-READINGS!$F18)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G18-READINGS!$F18),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G18-READINGS!$F18)>100,((READINGS!$G18-READINGS!$F18)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H18=\"\",READINGS!$G18=\"\"),0,IF((READINGS!$H18-READINGS!$G18)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H18-READINGS!$G18)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H18-READINGS!$G18)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H18-READINGS!$G18),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H18-READINGS!$G18)>100,((READINGS!$H18-READINGS!$G18)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I18=\"\",READINGS!$H18=\"\"),0,IF((READINGS!$I18-READINGS!$H18)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I18-READINGS!$H18)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I18-READINGS!$H18)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I18-READINGS!$H18),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I18-READINGS!$H18)>100,((READINGS!$I18-READINGS!$H18)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J18=\"\",READINGS!$I18=\"\"),0,IF((READINGS!$J18-READINGS!$I18)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J18-READINGS!$I18)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J18-READINGS!$I18)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J18-READINGS!$I18),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J18-READINGS!$I18)>100,((READINGS!$J18-READINGS!$I18)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$K18=\"\",READINGS!$J18=\"\"),0,IF((READINGS!$K18-READINGS!$J18)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K18-READINGS!$J18)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K18-READINGS!$J18)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K18-READINGS!$J18),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K18-READINGS!$J18)>100,((READINGS!$K18-READINGS!$J18)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D18=\"\",READINGS!$C18=\"\"),0,IF((READINGS!$D18-READINGS!$C18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D18-READINGS!$C18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D18-READINGS!$C18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D18-READINGS!$C18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D18-READINGS!$C18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$D18-READINGS!$C18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$E18=\"\",READINGS!$D18=\"\"),0,IF((READINGS!$E18-READINGS!$D18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E18-READINGS!$D18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E18-READINGS!$D18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E18-READINGS!$D18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E18-READINGS!$D18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$E18-READINGS!$D18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$F18=\"\",READINGS!$E18=\"\"),0,IF((READINGS!$F18-READINGS!$E18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F18-READINGS!$E18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F18-READINGS!$E18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F18-READINGS!$E18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F18-READINGS!$E18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$F18-READINGS!$E18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$G18=\"\",READINGS!$F18=\"\"),0,IF((READINGS!$G18-READINGS!$F18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G18-READINGS!$F18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G18-READINGS!$F18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G18-READINGS!$F18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G18-READINGS!$F18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$G18-READINGS!$F18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H18=\"\",READINGS!$G18=\"\"),0,IF((READINGS!$H18-READINGS!$G18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H18-READINGS!$G18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H18-READINGS!$G18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H18-READINGS!$G18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H18-READINGS!$G18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$H18-READINGS!$G18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I18=\"\",READINGS!$H18=\"\"),0,IF((READINGS!$I18-READINGS!$H18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I18-READINGS!$H18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I18-READINGS!$H18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I18-READINGS!$H18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I18-READINGS!$H18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$I18-READINGS!$H18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J18=\"\",READINGS!$I18=\"\"),0,IF((READINGS!$J18-READINGS!$I18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J18-READINGS!$I18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J18-READINGS!$I18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J18-READINGS!$I18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J18-READINGS!$I18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$J18-READINGS!$I18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$K18=\"\",READINGS!$J18=\"\"),0,IF((READINGS!$K18-READINGS!$J18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K18-READINGS!$J18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K18-READINGS!$J18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K18-READINGS!$J18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K18-READINGS!$J18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$K18-READINGS!$J18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L18=\"\",READINGS!$K18=\"\"),0,IF((READINGS!$L18-READINGS!$K18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L18-READINGS!$K18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L18-READINGS!$K18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L18-READINGS!$K18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L18-READINGS!$K18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$L18-READINGS!$K18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M18=\"\",READINGS!$L18=\"\"),0,IF((READINGS!$M18-READINGS!$L18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M18-READINGS!$L18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M18-READINGS!$L18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M18-READINGS!$L18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M18-READINGS!$L18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$M18-READINGS!$L18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N18=\"\",READINGS!$M18=\"\"),0,IF((READINGS!$N18-READINGS!$M18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N18-READINGS!$M18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N18-READINGS!$M18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N18-READINGS!$M18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N18-READINGS!$M18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$N18-READINGS!$M18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O18=\"\",READINGS!$N18=\"\"),0,IF((READINGS!$O18-READINGS!$N18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O18-READINGS!$N18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O18-READINGS!$N18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O18-READINGS!$N18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O18-READINGS!$N18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$O18-READINGS!$N18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P18=\"\",READINGS!$O18=\"\"),0,IF((READINGS!$P18-READINGS!$O18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P18-READINGS!$O18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P18-READINGS!$O18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P18-READINGS!$O18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P18-READINGS!$O18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$P18-READINGS!$O18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q18=\"\",READINGS!$P18=\"\"),0,IF((READINGS!$Q18-READINGS!$P18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q18-READINGS!$P18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q18-READINGS!$P18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q18-READINGS!$P18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q18-READINGS!$P18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q18-READINGS!$P18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R18=\"\",READINGS!$Q18=\"\"),0,IF((READINGS!$R18-READINGS!$Q18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R18-READINGS!$Q18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R18-READINGS!$Q18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R18-READINGS!$Q18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R18-READINGS!$Q18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$R18-READINGS!$Q18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S18=\"\",READINGS!$R18=\"\"),0,IF((READINGS!$S18-READINGS!$R18)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S18-READINGS!$R18)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S18-READINGS!$R18)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S18-READINGS!$R18),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S18-READINGS!$R18)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),((READINGS!$S18-READINGS!$R18)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D18=\"\",READINGS!$C18=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E18=\"\",READINGS!$D18=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F18=\"\",READINGS!$E18=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G18=\"\",READINGS!$F18=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H18=\"\",READINGS!$G18=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I18=\"\",READINGS!$H18=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J18=\"\",READINGS!$I18=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K18=\"\",READINGS!$J18=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L18=\"\",READINGS!$K18=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M18=\"\",READINGS!$L18=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N18=\"\",READINGS!$M18=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O18=\"\",READINGS!$N18=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P18=\"\",READINGS!$O18=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q18=\"\",READINGS!$P18=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R18=\"\",READINGS!$Q18=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S18=\"\",READINGS!$R18=\"\"),0,1)","v":0}]
[18,{"$f":"USERS!B19","v":"Samuel Graham"},"PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D19=\"\",READINGS!$C19=\"\"),0,IF((READINGS!$D19-READINGS!$C19)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D19-READINGS!$C19)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D19-READINGS!$C19)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D19-READINGS!$C19),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D19-READINGS!$C19)>100,((READINGS!$D19-READINGS!$C19)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$E19=\"\",READINGS!$D19=\"\"),0,IF((READINGS!$E19-READINGS!$D19)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E19-READINGS!$D19)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E19-READINGS!$D19)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E19-READINGS!$D19),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E19-READINGS!$D19)>100,((READINGS!$E19-READINGS!$D19)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"IF(OR(READINGS!$F19=\"\",READINGS!$E19=\"\"),0,IF((READINGS!$F19-READINGS!$E19)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F19-READINGS!$E19)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F19-READINGS!$E19)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F19-READINGS!$E19),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F19-READINGS!$E19)>100,((READINGS!$F19-READINGS!$E19)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$G19=\"\",READINGS!$F19=\"\"),0,IF((READINGS!$G19-READINGS!$F19)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G19-READINGS!$F19)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G19-READINGS!$F19)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G19-READINGS!$F19),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G19-READINGS!$F19)>100,((READINGS!$G19-READINGS!$F19)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H19=\"\",READINGS!$G19=\"\"),0,IF((READINGS!$H19-READINGS!$G19)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H19-READINGS!$G19)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H19-READINGS!$G19)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H19-READINGS!$G19),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H19-READINGS!$G19)>100,((READINGS!$H19-READINGS!$G19)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I19=\"\",READINGS!$H19=\"\"),0,IF((READINGS!$I19-READINGS!$H19)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I19-READINGS!$H19)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I19-READINGS!$H19)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I19-READINGS!$H19),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I19-READINGS!$H19)>100,((READINGS!$I19-READINGS!$H19)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J19=\"\",READINGS!$I19=\"\"),0,IF((READINGS!$J19-READINGS!$I19)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J19-READINGS!$I19)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J19-READINGS!$I19)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J19-READINGS!$I19),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J19-READINGS!$I19)>100,((READINGS!$J19-READINGS!$I19)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$K19=\"\",READINGS!$J19=\"\"),0,IF((READINGS!$K19-READINGS!$J19)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K19-READINGS!$J19)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K19-READINGS!$J19)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K19-READINGS!$J19),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K19-READINGS!$J19)>100,((READINGS!$K19-READINGS!$J19)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D19=\"\",READINGS!$C19=\"\"),0,IF((READINGS!$D19-READINGS!$C19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D19-READINGS!$C19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D19-READINGS!$C19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D19-READINGS!$C19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D19-READINGS!$C19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$D19-READINGS!$C19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$E19=\"\",READINGS!$D19=\"\"),0,IF((READINGS!$E19-READINGS!$D19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E19-READINGS!$D19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E19-READINGS!$D19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E19-READINGS!$D19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E19-READINGS!$D19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$E19-READINGS!$D19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"IF(OR(READINGS!$F19=\"\",READINGS!$E19=\"\"),0,IF((READINGS!$F19-READINGS!$E19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F19-READINGS!$E19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F19-READINGS!$E19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F19-READINGS!$E19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F19-READINGS!$E19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$F19-READINGS!$E19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$G19=\"\",READINGS!$F19=\"\"),0,IF((READINGS!$G19-READINGS!$F19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G19-READINGS!$F19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G19-READINGS!$F19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G19-READINGS!$F19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G19-READINGS!$F19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$G19-READINGS!$F19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H19=\"\",READINGS!$G19=\"\"),0,IF((READINGS!$H19-READINGS!$G19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H19-READINGS!$G19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H19-READINGS!$G19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H19-READINGS!$G19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H19-READINGS!$G19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$H19-READINGS!$G19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I19=\"\",READINGS!$H19=\"\"),0,IF((READINGS!$I19-READINGS!$H19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I19-READINGS!$H19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I19-READINGS!$H19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I19-READINGS!$H19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I19-READINGS!$H19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$I19-READINGS!$H19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J19=\"\",READINGS!$I19=\"\"),0,IF((READINGS!$J19-READINGS!$I19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J19-READINGS!$I19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J19-READINGS!$I19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J19-READINGS!$I19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J19-READINGS!$I19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$J19-READINGS!$I19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$K19=\"\",READINGS!$J19=\"\"),0,IF((READINGS!$K19-READINGS!$J19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K19-READINGS!$J19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K19-READINGS!$J19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K19-READINGS!$J19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K19-READINGS!$J19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$K19-READINGS!$J19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L19=\"\",READINGS!$K19=\"\"),0,IF((READINGS!$L19-READINGS!$K19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L19-READINGS!$K19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L19-READINGS!$K19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L19-READINGS!$K19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L19-READINGS!$K19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$L19-READINGS!$K19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M19=\"\",READINGS!$L19=\"\"),0,IF((READINGS!$M19-READINGS!$L19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M19-READINGS!$L19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M19-READINGS!$L19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M19-READINGS!$L19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M19-READINGS!$L19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$M19-READINGS!$L19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N19=\"\",READINGS!$M19=\"\"),0,IF((READINGS!$N19-READINGS!$M19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N19-READINGS!$M19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N19-READINGS!$M19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N19-READINGS!$M19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N19-READINGS!$M19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$N19-READINGS!$M19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O19=\"\",READINGS!$N19=\"\"),0,IF((READINGS!$O19-READINGS!$N19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O19-READINGS!$N19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O19-READINGS!$N19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O19-READINGS!$N19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O19-READINGS!$N19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$O19-READINGS!$N19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P19=\"\",READINGS!$O19=\"\"),0,IF((READINGS!$P19-READINGS!$O19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P19-READINGS!$O19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P19-READINGS!$O19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P19-READINGS!$O19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P19-READINGS!$O19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$P19-READINGS!$O19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q19=\"\",READINGS!$P19=\"\"),0,IF((READINGS!$Q19-READINGS!$P19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q19-READINGS!$P19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q19-READINGS!$P19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q19-READINGS!$P19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q19-READINGS!$P19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q19-READINGS!$P19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R19=\"\",READINGS!$Q19=\"\"),0,IF((READINGS!$R19-READINGS!$Q19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R19-READINGS!$Q19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R19-READINGS!$Q19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R19-READINGS!$Q19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R19-READINGS!$Q19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$R19-READINGS!$Q19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S19=\"\",READINGS!$R19=\"\"),0,IF((READINGS!$S19-READINGS!$R19)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S19-READINGS!$R19)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S19-READINGS!$R19)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S19-READINGS!$R19),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S19-READINGS!$R19)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),((READINGS!$S19-READINGS!$R19)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D19=\"\",READINGS!$C19=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E19=\"\",READINGS!$D19=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F19=\"\",READINGS!$E19=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G19=\"\",READINGS!$F19=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H19=\"\",READINGS!$G19=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I19=\"\",READINGS!$H19=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J19=\"\",READINGS!$I19=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K19=\"\",READINGS!$J19=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L19=\"\",READINGS!$K19=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M19=\"\",READINGS!$L19=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N19=\"\",READINGS!$M19=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O19=\"\",READINGS!$N19=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P19=\"\",READINGS!$O19=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q19=\"\",READINGS!$P19=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R19=\"\",READINGS!$Q19=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S19=\"\",READINGS!$R19=\"\"),0,1)","v":0}]
[19,{"$f":"USERS!B20","v":"James Coleman"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D20=\"\",READINGS!$C20=\"\"),0,IF((READINGS!$D20-READINGS!$C20)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D20-READINGS!$C20)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D20-READINGS!$C20)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D20-READINGS!$C20),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D20-READINGS!$C20)>100,((READINGS!$D20-READINGS!$C20)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$E20=\"\",READINGS!$D20=\"\"),0,IF((READINGS!$E20-READINGS!$D20)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E20-READINGS!$D20)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E20-READINGS!$D20)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E20-READINGS!$D20),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E20-READINGS!$D20)>100,((READINGS!$E20-READINGS!$D20)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$F20=\"\",READINGS!$E20=\"\"),0,IF((READINGS!$F20-READINGS!$E20)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F20-READINGS!$E20)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F20-READINGS!$E20)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F20-READINGS!$E20),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F20-READINGS!$E20)>100,((READINGS!$F20-READINGS!$E20)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$G20=\"\",READINGS!$F20=\"\"),0,IF((READINGS!$G20-READINGS!$F20)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G20-READINGS!$F20)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G20-READINGS!$F20)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G20-READINGS!$F20),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G20-READINGS!$F20)>100,((READINGS!$G20-READINGS!$F20)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H20=\"\",READINGS!$G20=\"\"),0,IF((READINGS!$H20-READINGS!$G20)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H20-READINGS!$G20)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H20-READINGS!$G20)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H20-READINGS!$G20),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H20-READINGS!$G20)>100,((READINGS!$H20-READINGS!$G20)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I20=\"\",READINGS!$H20=\"\"),0,IF((READINGS!$I20-READINGS!$H20)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I20-READINGS!$H20)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I20-READINGS!$H20)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I20-READINGS!$H20),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I20-READINGS!$H20)>100,((READINGS!$I20-READINGS!$H20)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J20=\"\",READINGS!$I20=\"\"),0,IF((READINGS!$J20-READINGS!$I20)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J20-READINGS!$I20)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J20-READINGS!$I20)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J20-READINGS!$I20),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J20-READINGS!$I20)>100,((READINGS!$J20-READINGS!$I20)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"IF(OR(READINGS!$K20=\"\",READINGS!$J20=\"\"),0,IF((READINGS!$K20-READINGS!$J20)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K20-READINGS!$J20)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K20-READINGS!$J20)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K20-READINGS!$J20),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K20-READINGS!$J20)>100,((READINGS!$K20-READINGS!$J20)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D20=\"\",READINGS!$C20=\"\"),0,IF((READINGS!$D20-READINGS!$C20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D20-READINGS!$C20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D20-READINGS!$C20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D20-READINGS!$C20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D20-READINGS!$C20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$D20-READINGS!$C20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$E20=\"\",READINGS!$D20=\"\"),0,IF((READINGS!$E20-READINGS!$D20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E20-READINGS!$D20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E20-READINGS!$D20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E20-READINGS!$D20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E20-READINGS!$D20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$E20-READINGS!$D20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$F20=\"\",READINGS!$E20=\"\"),0,IF((READINGS!$F20-READINGS!$E20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F20-READINGS!$E20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F20-READINGS!$E20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F20-READINGS!$E20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F20-READINGS!$E20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$F20-READINGS!$E20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$G20=\"\",READINGS!$F20=\"\"),0,IF((READINGS!$G20-READINGS!$F20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G20-READINGS!$F20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G20-READINGS!$F20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G20-READINGS!$F20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G20-READINGS!$F20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$G20-READINGS!$F20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H20=\"\",READINGS!$G20=\"\"),0,IF((READINGS!$H20-READINGS!$G20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H20-READINGS!$G20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H20-READINGS!$G20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H20-READINGS!$G20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H20-READINGS!$G20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$H20-READINGS!$G20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I20=\"\",READINGS!$H20=\"\"),0,IF((READINGS!$I20-READINGS!$H20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I20-READINGS!$H20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I20-READINGS!$H20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I20-READINGS!$H20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I20-READINGS!$H20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$I20-READINGS!$H20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J20=\"\",READINGS!$I20=\"\"),0,IF((READINGS!$J20-READINGS!$I20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J20-READINGS!$I20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J20-READINGS!$I20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J20-READINGS!$I20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J20-READINGS!$I20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$J20-READINGS!$I20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"IF(OR(READINGS!$K20=\"\",READINGS!$J20=\"\"),0,IF((READINGS!$K20-READINGS!$J20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K20-READINGS!$J20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K20-READINGS!$J20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K20-READINGS!$J20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K20-READINGS!$J20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$K20-READINGS!$J20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L20=\"\",READINGS!$K20=\"\"),0,IF((READINGS!$L20-READINGS!$K20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L20-READINGS!$K20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L20-READINGS!$K20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L20-READINGS!$K20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L20-READINGS!$K20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$L20-READINGS!$K20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M20=\"\",READINGS!$L20=\"\"),0,IF((READINGS!$M20-READINGS!$L20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M20-READINGS!$L20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M20-READINGS!$L20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M20-READINGS!$L20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M20-READINGS!$L20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$M20-READINGS!$L20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N20=\"\",READINGS!$M20=\"\"),0,IF((READINGS!$N20-READINGS!$M20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N20-READINGS!$M20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N20-READINGS!$M20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N20-READINGS!$M20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N20-READINGS!$M20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$N20-READINGS!$M20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O20=\"\",READINGS!$N20=\"\"),0,IF((READINGS!$O20-READINGS!$N20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O20-READINGS!$N20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O20-READINGS!$N20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O20-READINGS!$N20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O20-READINGS!$N20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$O20-READINGS!$N20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P20=\"\",READINGS!$O20=\"\"),0,IF((READINGS!$P20-READINGS!$O20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P20-READINGS!$O20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P20-READINGS!$O20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P20-READINGS!$O20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P20-READINGS!$O20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$P20-READINGS!$O20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q20=\"\",READINGS!$P20=\"\"),0,IF((READINGS!$Q20-READINGS!$P20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q20-READINGS!$P20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q20-READINGS!$P20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q20-READINGS!$P20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q20-READINGS!$P20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q20-READINGS!$P20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R20=\"\",READINGS!$Q20=\"\"),0,IF((READINGS!$R20-READINGS!$Q20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R20-READINGS!$Q20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R20-READINGS!$Q20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R20-READINGS!$Q20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R20-READINGS!$Q20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$R20-READINGS!$Q20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S20=\"\",READINGS!$R20=\"\"),0,IF((READINGS!$S20-READINGS!$R20)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S20-READINGS!$R20)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S20-READINGS!$R20)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S20-READINGS!$R20),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S20-READINGS!$R20)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),((READINGS!$S20-READINGS!$R20)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D20=\"\",READINGS!$C20=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E20=\"\",READINGS!$D20=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F20=\"\",READINGS!$E20=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G20=\"\",READINGS!$F20=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H20=\"\",READINGS!$G20=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I20=\"\",READINGS!$H20=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J20=\"\",READINGS!$I20=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K20=\"\",READINGS!$J20=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L20=\"\",READINGS!$K20=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M20=\"\",READINGS!$L20=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N20=\"\",READINGS!$M20=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O20=\"\",READINGS!$N20=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P20=\"\",READINGS!$O20=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q20=\"\",READINGS!$P20=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R20=\"\",READINGS!$Q20=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S20=\"\",READINGS!$R20=\"\"),0,1)","v":0}]
[20,{"$f":"USERS!B21","v":"Samuel Barnes"},"PAID","PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D21=\"\",READINGS!$C21=\"\"),0,IF((READINGS!$D21-READINGS!$C21)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D21-READINGS!$C21)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D21-READINGS!$C21)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D21-READINGS!$C21),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D21-READINGS!$C21)>100,((READINGS!$D21-READINGS!$C21)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$E21=\"\",READINGS!$D21=\"\"),0,IF((READINGS!$E21-READINGS!$D21)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E21-READINGS!$D21)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E21-READINGS!$D21)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E21-READINGS!$D21),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E21-READINGS!$D21)>100,((READINGS!$E21-READINGS!$D21)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$F21=\"\",READINGS!$E21=\"\"),0,IF((READINGS!$F21-READINGS!$E21)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F21-READINGS!$E21)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F21-READINGS!$E21)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F21-READINGS!$E21),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F21-READINGS!$E21)>100,((READINGS!$F21-READINGS!$E21)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$G21=\"\",READINGS!$F21=\"\"),0,IF((READINGS!$G21-READINGS!$F21)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G21-READINGS!$F21)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G21-READINGS!$F21)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G21-READINGS!$F21),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G21-READINGS!$F21)>100,((READINGS!$G21-READINGS!$F21)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"IF(OR(READINGS!$H21=\"\",READINGS!$G21=\"\"),0,IF((READINGS!$H21-READINGS!$G21)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H21-READINGS!$G21)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H21-READINGS!$G21)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H21-READINGS!$G21),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H21-READINGS!$G21)>100,((READINGS!$H21-READINGS!$G21)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"IF(OR(READINGS!$I21=\"\",READINGS!$H21=\"\"),0,IF((READINGS!$I21-READINGS!$H21)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I21-READINGS!$H21)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I21-READINGS!$H21)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I21-READINGS!$H21),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I21-READINGS!$H21)>100,((READINGS!$I21-READINGS!$H21)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$J21=\"\",READINGS!$I21=\"\"),0,IF((READINGS!$J21-READINGS!$I21)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J21-READINGS!$I21)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J21-READINGS!$I21)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J21-READINGS!$I21),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J21-READINGS!$I21)>100,((READINGS!$J21-READINGS!$I21)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$K21=\"\",READINGS!$J21=\"\"),0,IF((READINGS!$K21-READINGS!$J21)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K21-READINGS!$J21)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K21-READINGS!$J21)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K21-READINGS!$J21),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K21-READINGS!$J21)>100,((READINGS!$K21-READINGS!$J21)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D21=\"\",READINGS!$C21=\"\"),0,IF((READINGS!$D21-READINGS!$C21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D21-READINGS!$C21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D21-READINGS!$C21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D21-READINGS!$C21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D21-READINGS!$C21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$D21-READINGS!$C21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$E21=\"\",READINGS!$D21=\"\"),0,IF((READINGS!$E21-READINGS!$D21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E21-READINGS!$D21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E21-READINGS!$D21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E21-READINGS!$D21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E21-READINGS!$D21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$E21-READINGS!$D21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$F21=\"\",READINGS!$E21=\"\"),0,IF((READINGS!$F21-READINGS!$E21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F21-READINGS!$E21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F21-READINGS!$E21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F21-READINGS!$E21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F21-READINGS!$E21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$F21-READINGS!$E21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$G21=\"\",READINGS!$F21=\"\"),0,IF((READINGS!$G21-READINGS!$F21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G21-READINGS!$F21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G21-READINGS!$F21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G21-READINGS!$F21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G21-READINGS!$F21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$G21-READINGS!$F21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"IF(OR(READINGS!$H21=\"\",READINGS!$G21=\"\"),0,IF((READINGS!$H21-READINGS!$G21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H21-READINGS!$G21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H21-READINGS!$G21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H21-READINGS!$G21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H21-READINGS!$G21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$H21-READINGS!$G21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"IF(OR(READINGS!$I21=\"\",READINGS!$H21=\"\"),0,IF((READINGS!$I21-READINGS!$H21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I21-READINGS!$H21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I21-READINGS!$H21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I21-READINGS!$H21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I21-READINGS!$H21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$I21-READINGS!$H21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":40000},{"$f":"IF(OR(READINGS!$J21=\"\",READINGS!$I21=\"\"),0,IF((READINGS!$J21-READINGS!$I21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J21-READINGS!$I21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J21-READINGS!$I21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J21-READINGS!$I21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J21-READINGS!$I21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$J21-READINGS!$I21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"IF(OR(READINGS!$K21=\"\",READINGS!$J21=\"\"),0,IF((READINGS!$K21-READINGS!$J21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K21-READINGS!$J21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K21-READINGS!$J21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K21-READINGS!$J21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K21-READINGS!$J21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$K21-READINGS!$J21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L21=\"\",READINGS!$K21=\"\"),0,IF((READINGS!$L21-READINGS!$K21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L21-READINGS!$K21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L21-READINGS!$K21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L21-READINGS!$K21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L21-READINGS!$K21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$L21-READINGS!$K21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M21=\"\",READINGS!$L21=\"\"),0,IF((READINGS!$M21-READINGS!$L21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M21-READINGS!$L21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M21-READINGS!$L21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M21-READINGS!$L21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M21-READINGS!$L21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$M21-READINGS!$L21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N21=\"\",READINGS!$M21=\"\"),0,IF((READINGS!$N21-READINGS!$M21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N21-READINGS!$M21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N21-READINGS!$M21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N21-READINGS!$M21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N21-READINGS!$M21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$N21-READINGS!$M21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O21=\"\",READINGS!$N21=\"\"),0,IF((READINGS!$O21-READINGS!$N21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O21-READINGS!$N21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O21-READINGS!$N21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O21-READINGS!$N21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O21-READINGS!$N21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$O21-READINGS!$N21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P21=\"\",READINGS!$O21=\"\"),0,IF((READINGS!$P21-READINGS!$O21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P21-READINGS!$O21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P21-READINGS!$O21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P21-READINGS!$O21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P21-READINGS!$O21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$P21-READINGS!$O21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q21=\"\",READINGS!$P21=\"\"),0,IF((READINGS!$Q21-READINGS!$P21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q21-READINGS!$P21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q21-READINGS!$P21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q21-READINGS!$P21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q21-READINGS!$P21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q21-READINGS!$P21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R21=\"\",READINGS!$Q21=\"\"),0,IF((READINGS!$R21-READINGS!$Q21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R21-READINGS!$Q21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R21-READINGS!$Q21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R21-READINGS!$Q21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R21-READINGS!$Q21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$R21-READINGS!$Q21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S21=\"\",READINGS!$R21=\"\"),0,IF((READINGS!$S21-READINGS!$R21)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S21-READINGS!$R21)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S21-READINGS!$R21)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S21-READINGS!$R21),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S21-READINGS!$R21)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),((READINGS!$S21-READINGS!$R21)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D21=\"\",READINGS!$C21=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E21=\"\",READINGS!$D21=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F21=\"\",READINGS!$E21=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G21=\"\",READINGS!$F21=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H21=\"\",READINGS!$G21=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I21=\"\",READINGS!$H21=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J21=\"\",READINGS!$I21=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K21=\"\",READINGS!$J21=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L21=\"\",READINGS!$K21=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M21=\"\",READINGS!$L21=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N21=\"\",READINGS!$M21=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O21=\"\",READINGS!$N21=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P21=\"\",READINGS!$O21=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q21=\"\",READINGS!$P21=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R21=\"\",READINGS!$Q21=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S21=\"\",READINGS!$R21=\"\"),0,1)","v":0}]
[21,{"$f":"USERS!B22","v":"Charlotte Mitchell"},"PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D22=\"\",READINGS!$C22=\"\"),0,IF((READINGS!$D22-READINGS!$C22)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D22-READINGS!$C22)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D22-READINGS!$C22)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D22-READINGS!$C22),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D22-READINGS!$C22)>100,((READINGS!$D22-READINGS!$C22)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$E22=\"\",READINGS!$D22=\"\"),0,IF((READINGS!$E22-READINGS!$D22)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E22-READINGS!$D22)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E22-READINGS!$D22)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E22-READINGS!$D22),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E22-READINGS!$D22)>100,((READINGS!$E22-READINGS!$D22)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$F22=\"\",READINGS!$E22=\"\"),0,IF((READINGS!$F22-READINGS!$E22)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F22-READINGS!$E22)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F22-READINGS!$E22)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F22-READINGS!$E22),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F22-READINGS!$E22)>100,((READINGS!$F22-READINGS!$E22)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":67000},{"$f":"IF(OR(READINGS!$G22=\"\",READINGS!$F22=\"\"),0,IF((READINGS!$G22-READINGS!$F22)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G22-READINGS!$F22)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G22-READINGS!$F22)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G22-READINGS!$F22),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G22-READINGS!$F22)>100,((READINGS!$G22-READINGS!$F22)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$H22=\"\",READINGS!$G22=\"\"),0,IF((READINGS!$H22-READINGS!$G22)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H22-READINGS!$G22)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H22-READINGS!$G22)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H22-READINGS!$G22),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H22-READINGS!$G22)>100,((READINGS!$H22-READINGS!$G22)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$I22=\"\",READINGS!$H22=\"\"),0,IF((READINGS!$I22-READINGS!$H22)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I22-READINGS!$H22)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I22-READINGS!$H22)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I22-READINGS!$H22),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I22-READINGS!$H22)>100,((READINGS!$I22-READINGS!$H22)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":67000},{"$f":"IF(OR(READINGS!$J22=\"\",READINGS!$I22=\"\"),0,IF((READINGS!$J22-READINGS!$I22)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J22-READINGS!$I22)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J22-READINGS!$I22)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J22-READINGS!$I22),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J22-READINGS!$I22)>100,((READINGS!$J22-READINGS!$I22)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$K22=\"\",READINGS!$J22=\"\"),0,IF((READINGS!$K22-READINGS!$J22)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K22-READINGS!$J22)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K22-READINGS!$J22)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K22-READINGS!$J22),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K22-READINGS!$J22)>100,((READINGS!$K22-READINGS!$J22)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D22=\"\",READINGS!$C22=\"\"),0,IF((READINGS!$D22-READINGS!$C22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D22-READINGS!$C22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D22-READINGS!$C22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D22-READINGS!$C22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D22-READINGS!$C22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$D22-READINGS!$C22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$E22=\"\",READINGS!$D22=\"\"),0,IF((READINGS!$E22-READINGS!$D22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E22-READINGS!$D22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E22-READINGS!$D22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E22-READINGS!$D22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E22-READINGS!$D22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$E22-READINGS!$D22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$F22=\"\",READINGS!$E22=\"\"),0,IF((READINGS!$F22-READINGS!$E22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F22-READINGS!$E22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F22-READINGS!$E22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F22-READINGS!$E22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F22-READINGS!$E22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$F22-READINGS!$E22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":67000},{"$f":"IF(OR(READINGS!$G22=\"\",READINGS!$F22=\"\"),0,IF((READINGS!$G22-READINGS!$F22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G22-READINGS!$F22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G22-READINGS!$F22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G22-READINGS!$F22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G22-READINGS!$F22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$G22-READINGS!$F22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$H22=\"\",READINGS!$G22=\"\"),0,IF((READINGS!$H22-READINGS!$G22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H22-READINGS!$G22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H22-READINGS!$G22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H22-READINGS!$G22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H22-READINGS!$G22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$H22-READINGS!$G22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$I22=\"\",READINGS!$H22=\"\"),0,IF((READINGS!$I22-READINGS!$H22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I22-READINGS!$H22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I22-READINGS!$H22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I22-READINGS!$H22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I22-READINGS!$H22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$I22-READINGS!$H22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":67000},{"$f":"IF(OR(READINGS!$J22=\"\",READINGS!$I22=\"\"),0,IF((READINGS!$J22-READINGS!$I22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J22-READINGS!$I22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J22-READINGS!$I22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J22-READINGS!$I22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J22-READINGS!$I22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$J22-READINGS!$I22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$K22=\"\",READINGS!$J22=\"\"),0,IF((READINGS!$K22-READINGS!$J22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K22-READINGS!$J22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K22-READINGS!$J22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K22-READINGS!$J22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K22-READINGS!$J22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$K22-READINGS!$J22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L22=\"\",READINGS!$K22=\"\"),0,IF((READINGS!$L22-READINGS!$K22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L22-READINGS!$K22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L22-READINGS!$K22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L22-READINGS!$K22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L22-READINGS!$K22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$L22-READINGS!$K22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M22=\"\",READINGS!$L22=\"\"),0,IF((READINGS!$M22-READINGS!$L22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M22-READINGS!$L22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M22-READINGS!$L22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M22-READINGS!$L22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M22-READINGS!$L22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$M22-READINGS!$L22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N22=\"\",READINGS!$M22=\"\"),0,IF((READINGS!$N22-READINGS!$M22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N22-READINGS!$M22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N22-READINGS!$M22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N22-READINGS!$M22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N22-READINGS!$M22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$N22-READINGS!$M22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O22=\"\",READINGS!$N22=\"\"),0,IF((READINGS!$O22-READINGS!$N22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O22-READINGS!$N22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O22-READINGS!$N22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O22-READINGS!$N22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O22-READINGS!$N22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$O22-READINGS!$N22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P22=\"\",READINGS!$O22=\"\"),0,IF((READINGS!$P22-READINGS!$O22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P22-READINGS!$O22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P22-READINGS!$O22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P22-READINGS!$O22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P22-READINGS!$O22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$P22-READINGS!$O22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q22=\"\",READINGS!$P22=\"\"),0,IF((READINGS!$Q22-READINGS!$P22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q22-READINGS!$P22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q22-READINGS!$P22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q22-READINGS!$P22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q22-READINGS!$P22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q22-READINGS!$P22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R22=\"\",READINGS!$Q22=\"\"),0,IF((READINGS!$R22-READINGS!$Q22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R22-READINGS!$Q22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R22-READINGS!$Q22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R22-READINGS!$Q22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R22-READINGS!$Q22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$R22-READINGS!$Q22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S22=\"\",READINGS!$R22=\"\"),0,IF((READINGS!$S22-READINGS!$R22)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S22-READINGS!$R22)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S22-READINGS!$R22)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S22-READINGS!$R22),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S22-READINGS!$R22)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),((READINGS!$S22-READINGS!$R22)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D22=\"\",READINGS!$C22=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E22=\"\",READINGS!$D22=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F22=\"\",READINGS!$E22=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G22=\"\",READINGS!$F22=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H22=\"\",READINGS!$G22=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I22=\"\",READINGS!$H22=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J22=\"\",READINGS!$I22=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K22=\"\",READINGS!$J22=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L22=\"\",READINGS!$K22=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M22=\"\",READINGS!$L22=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N22=\"\",READINGS!$M22=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O22=\"\",READINGS!$N22=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P22=\"\",READINGS!$O22=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q22=\"\",READINGS!$P22=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R22=\"\",READINGS!$Q22=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S22=\"\",READINGS!$R22=\"\"),0,1)","v":0}]
[22,{"$f":"USERS!B23","v":"Evelyn Wallace"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D23=\"\",READINGS!$C23=\"\"),0,IF((READINGS!$D23-READINGS!$C23)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D23-READINGS!$C23)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D23-READINGS!$C23)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D23-READINGS!$C23),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D23-READINGS!$C23)>100,((READINGS!$D23-READINGS!$C23)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$E23=\"\",READINGS!$D23=\"\"),0,IF((READINGS!$E23-READINGS!$D23)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E23-READINGS!$D23)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E23-READINGS!$D23)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E23-READINGS!$D23),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E23-READINGS!$D23)>100,((READINGS!$E23-READINGS!$D23)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$F23=\"\",READINGS!$E23=\"\"),0,IF((READINGS!$F23-READINGS!$E23)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F23-READINGS!$E23)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F23-READINGS!$E23)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F23-READINGS!$E23),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F23-READINGS!$E23)>100,((READINGS!$F23-READINGS!$E23)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$G23=\"\",READINGS!$F23=\"\"),0,IF((READINGS!$G23-READINGS!$F23)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G23-READINGS!$F23)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G23-READINGS!$F23)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G23-READINGS!$F23),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G23-READINGS!$F23)>100,((READINGS!$G23-READINGS!$F23)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$H23=\"\",READINGS!$G23=\"\"),0,IF((READINGS!$H23-READINGS!$G23)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H23-READINGS!$G23)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H23-READINGS!$G23)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H23-READINGS!$G23),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H23-READINGS!$G23)>100,((READINGS!$H23-READINGS!$G23)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$I23=\"\",READINGS!$H23=\"\"),0,IF((READINGS!$I23-READINGS!$H23)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I23-READINGS!$H23)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I23-READINGS!$H23)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I23-READINGS!$H23),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I23-READINGS!$H23)>100,((READINGS!$I23-READINGS!$H23)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$J23=\"\",READINGS!$I23=\"\"),0,IF((READINGS!$J23-READINGS!$I23)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J23-READINGS!$I23)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J23-READINGS!$I23)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J23-READINGS!$I23),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J23-READINGS!$I23)>100,((READINGS!$J23-READINGS!$I23)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$K23=\"\",READINGS!$J23=\"\"),0,IF((READINGS!$K23-READINGS!$J23)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K23-READINGS!$J23)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K23-READINGS!$J23)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K23-READINGS!$J23),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K23-READINGS!$J23)>100,((READINGS!$K23-READINGS!$J23)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D23=\"\",READINGS!$C23=\"\"),0,IF((READINGS!$D23-READINGS!$C23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D23-READINGS!$C23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D23-READINGS!$C23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D23-READINGS!$C23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D23-READINGS!$C23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$D23-READINGS!$C23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$E23=\"\",READINGS!$D23=\"\"),0,IF((READINGS!$E23-READINGS!$D23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E23-READINGS!$D23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E23-READINGS!$D23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E23-READINGS!$D23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E23-READINGS!$D23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$E23-READINGS!$D23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$F23=\"\",READINGS!$E23=\"\"),0,IF((READINGS!$F23-READINGS!$E23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F23-READINGS!$E23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F23-READINGS!$E23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F23-READINGS!$E23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F23-READINGS!$E23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$F23-READINGS!$E23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$G23=\"\",READINGS!$F23=\"\"),0,IF((READINGS!$G23-READINGS!$F23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G23-READINGS!$F23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G23-READINGS!$F23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G23-READINGS!$F23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G23-READINGS!$F23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$G23-READINGS!$F23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$H23=\"\",READINGS!$G23=\"\"),0,IF((READINGS!$H23-READINGS!$G23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H23-READINGS!$G23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H23-READINGS!$G23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H23-READINGS!$G23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H23-READINGS!$G23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$H23-READINGS!$G23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$I23=\"\",READINGS!$H23=\"\"),0,IF((READINGS!$I23-READINGS!$H23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I23-READINGS!$H23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I23-READINGS!$H23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I23-READINGS!$H23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I23-READINGS!$H23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$I23-READINGS!$H23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$J23=\"\",READINGS!$I23=\"\"),0,IF((READINGS!$J23-READINGS!$I23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J23-READINGS!$I23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J23-READINGS!$I23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J23-READINGS!$I23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J23-READINGS!$I23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$J23-READINGS!$I23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$K23=\"\",READINGS!$J23=\"\"),0,IF((READINGS!$K23-READINGS!$J23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K23-READINGS!$J23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K23-READINGS!$J23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K23-READINGS!$J23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K23-READINGS!$J23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$K23-READINGS!$J23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L23=\"\",READINGS!$K23=\"\"),0,IF((READINGS!$L23-READINGS!$K23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L23-READINGS!$K23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L23-READINGS!$K23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L23-READINGS!$K23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L23-READINGS!$K23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$L23-READINGS!$K23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M23=\"\",READINGS!$L23=\"\"),0,IF((READINGS!$M23-READINGS!$L23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M23-READINGS!$L23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M23-READINGS!$L23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M23-READINGS!$L23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M23-READINGS!$L23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$M23-READINGS!$L23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N23=\"\",READINGS!$M23=\"\"),0,IF((READINGS!$N23-READINGS!$M23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N23-READINGS!$M23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N23-READINGS!$M23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N23-READINGS!$M23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N23-READINGS!$M23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$N23-READINGS!$M23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O23=\"\",READINGS!$N23=\"\"),0,IF((READINGS!$O23-READINGS!$N23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O23-READINGS!$N23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O23-READINGS!$N23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O23-READINGS!$N23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O23-READINGS!$N23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$O23-READINGS!$N23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P23=\"\",READINGS!$O23=\"\"),0,IF((READINGS!$P23-READINGS!$O23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P23-READINGS!$O23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P23-READINGS!$O23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P23-READINGS!$O23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P23-READINGS!$O23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$P23-READINGS!$O23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q23=\"\",READINGS!$P23=\"\"),0,IF((READINGS!$Q23-READINGS!$P23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q23-READINGS!$P23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q23-READINGS!$P23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q23-READINGS!$P23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q23-READINGS!$P23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q23-READINGS!$P23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R23=\"\",READINGS!$Q23=\"\"),0,IF((READINGS!$R23-READINGS!$Q23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R23-READINGS!$Q23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R23-READINGS!$Q23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R23-READINGS!$Q23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R23-READINGS!$Q23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$R23-READINGS!$Q23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S23=\"\",READINGS!$R23=\"\"),0,IF((READINGS!$S23-READINGS!$R23)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S23-READINGS!$R23)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S23-READINGS!$R23)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S23-READINGS!$R23),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S23-READINGS!$R23)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),((READINGS!$S23-READINGS!$R23)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D23=\"\",READINGS!$C23=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E23=\"\",READINGS!$D23=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F23=\"\",READINGS!$E23=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G23=\"\",READINGS!$F23=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H23=\"\",READINGS!$G23=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I23=\"\",READINGS!$H23=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J23=\"\",READINGS!$I23=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K23=\"\",READINGS!$J23=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L23=\"\",READINGS!$K23=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M23=\"\",READINGS!$L23=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N23=\"\",READINGS!$M23=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O23=\"\",READINGS!$N23=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P23=\"\",READINGS!$O23=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q23=\"\",READINGS!$P23=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R23=\"\",READINGS!$Q23=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S23=\"\",READINGS!$R23=\"\"),0,1)","v":0}]
[23,{"$f":"USERS!B24","v":"Evelyn Mitchell"},"PAID","PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D24=\"\",READINGS!$C24=\"\"),0,IF((READINGS!$D24-READINGS!$C24)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D24-READINGS!$C24)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D24-READINGS!$C24)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D24-READINGS!$C24),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D24-READINGS!$C24)>100,((READINGS!$D24-READINGS!$C24)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":58000},{"$f":"IF(OR(READINGS!$E24=\"\",READINGS!$D24=\"\"),0,IF((READINGS!$E24-READINGS!$D24)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E24-READINGS!$D24)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E24-READINGS!$D24)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E24-READINGS!$D24),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E24-READINGS!$D24)>100,((READINGS!$E24-READINGS!$D24)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$F24=\"\",READINGS!$E24=\"\"),0,IF((READINGS!$F24-READINGS!$E24)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F24-READINGS!$E24)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F24-READINGS!$E24)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F24-READINGS!$E24),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F24-READINGS!$E24)>100,((READINGS!$F24-READINGS!$E24)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$G24=\"\",READINGS!$F24=\"\"),0,IF((READINGS!$G24-READINGS!$F24)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G24-READINGS!$F24)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G24-READINGS!$F24)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G24-READINGS!$F24),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G24-READINGS!$F24)>100,((READINGS!$G24-READINGS!$F24)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$H24=\"\",READINGS!$G24=\"\"),0,IF((READINGS!$H24-READINGS!$G24)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H24-READINGS!$G24)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H24-READINGS!$G24)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H24-READINGS!$G24),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H24-READINGS!$G24)>100,((READINGS!$H24-READINGS!$G24)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$I24=\"\",READINGS!$H24=\"\"),0,IF((READINGS!$I24-READINGS!$H24)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I24-READINGS!$H24)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I24-READINGS!$H24)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I24-READINGS!$H24),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I24-READINGS!$H24)>100,((READINGS!$I24-READINGS!$H24)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$J24=\"\",READINGS!$I24=\"\"),0,IF((READINGS!$J24-READINGS!$I24)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J24-READINGS!$I24)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J24-READINGS!$I24)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J24-READINGS!$I24),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J24-READINGS!$I24)>100,((READINGS!$J24-READINGS!$I24)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$K24=\"\",READINGS!$J24=\"\"),0,IF((READINGS!$K24-READINGS!$J24)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K24-READINGS!$J24)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K24-READINGS!$J24)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K24-READINGS!$J24),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K24-READINGS!$J24)>100,((READINGS!$K24-READINGS!$J24)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D24=\"\",READINGS!$C24=\"\"),0,IF((READINGS!$D24-READINGS!$C24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D24-READINGS!$C24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D24-READINGS!$C24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D24-READINGS!$C24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D24-READINGS!$C24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$D24-READINGS!$C24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":58000},{"$f":"IF(OR(READINGS!$E24=\"\",READINGS!$D24=\"\"),0,IF((READINGS!$E24-READINGS!$D24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E24-READINGS!$D24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E24-READINGS!$D24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E24-READINGS!$D24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E24-READINGS!$D24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$E24-READINGS!$D24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$F24=\"\",READINGS!$E24=\"\"),0,IF((READINGS!$F24-READINGS!$E24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F24-READINGS!$E24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F24-READINGS!$E24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F24-READINGS!$E24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F24-READINGS!$E24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$F24-READINGS!$E24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$G24=\"\",READINGS!$F24=\"\"),0,IF((READINGS!$G24-READINGS!$F24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G24-READINGS!$F24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G24-READINGS!$F24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G24-READINGS!$F24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G24-READINGS!$F24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$G24-READINGS!$F24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$H24=\"\",READINGS!$G24=\"\"),0,IF((READINGS!$H24-READINGS!$G24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H24-READINGS!$G24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H24-READINGS!$G24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H24-READINGS!$G24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H24-READINGS!$G24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$H24-READINGS!$G24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$I24=\"\",READINGS!$H24=\"\"),0,IF((READINGS!$I24-READINGS!$H24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I24-READINGS!$H24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I24-READINGS!$H24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I24-READINGS!$H24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I24-READINGS!$H24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$I24-READINGS!$H24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$J24=\"\",READINGS!$I24=\"\"),0,IF((READINGS!$J24-READINGS!$I24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J24-READINGS!$I24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J24-READINGS!$I24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J24-READINGS!$I24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J24-READINGS!$I24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$J24-READINGS!$I24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"IF(OR(READINGS!$K24=\"\",READINGS!$J24=\"\"),0,IF((READINGS!$K24-READINGS!$J24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K24-READINGS!$J24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K24-READINGS!$J24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K24-READINGS!$J24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K24-READINGS!$J24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$K24-READINGS!$J24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L24=\"\",READINGS!$K24=\"\"),0,IF((READINGS!$L24-READINGS!$K24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L24-READINGS!$K24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L24-READINGS!$K24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L24-READINGS!$K24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L24-READINGS!$K24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$L24-READINGS!$K24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M24=\"\",READINGS!$L24=\"\"),0,IF((READINGS!$M24-READINGS!$L24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M24-READINGS!$L24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M24-READINGS!$L24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M24-READINGS!$L24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M24-READINGS!$L24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$M24-READINGS!$L24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N24=\"\",READINGS!$M24=\"\"),0,IF((READINGS!$N24-READINGS!$M24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N24-READINGS!$M24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N24-READINGS!$M24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N24-READINGS!$M24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N24-READINGS!$M24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$N24-READINGS!$M24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O24=\"\",READINGS!$N24=\"\"),0,IF((READINGS!$O24-READINGS!$N24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O24-READINGS!$N24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O24-READINGS!$N24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O24-READINGS!$N24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O24-READINGS!$N24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$O24-READINGS!$N24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P24=\"\",READINGS!$O24=\"\"),0,IF((READINGS!$P24-READINGS!$O24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P24-READINGS!$O24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P24-READINGS!$O24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P24-READINGS!$O24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P24-READINGS!$O24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$P24-READINGS!$O24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q24=\"\",READINGS!$P24=\"\"),0,IF((READINGS!$Q24-READINGS!$P24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q24-READINGS!$P24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q24-READINGS!$P24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q24-READINGS!$P24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q24-READINGS!$P24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q24-READINGS!$P24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R24=\"\",READINGS!$Q24=\"\"),0,IF((READINGS!$R24-READINGS!$Q24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R24-READINGS!$Q24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R24-READINGS!$Q24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R24-READINGS!$Q24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R24-READINGS!$Q24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$R24-READINGS!$Q24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S24=\"\",READINGS!$R24=\"\"),0,IF((READINGS!$S24-READINGS!$R24)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S24-READINGS!$R24)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S24-READINGS!$R24)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S24-READINGS!$R24),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S24-READINGS!$R24)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),((READINGS!$S24-READINGS!$R24)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D24=\"\",READINGS!$C24=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E24=\"\",READINGS!$D24=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F24=\"\",READINGS!$E24=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G24=\"\",READINGS!$F24=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H24=\"\",READINGS!$G24=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I24=\"\",READINGS!$H24=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J24=\"\",READINGS!$I24=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K24=\"\",READINGS!$J24=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L24=\"\",READINGS!$K24=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M24=\"\",READINGS!$L24=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N24=\"\",READINGS!$M24=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O24=\"\",READINGS!$N24=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P24=\"\",READINGS!$O24=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q24=\"\",READINGS!$P24=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R24=\"\",READINGS!$Q24=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S24=\"\",READINGS!$R24=\"\"),0,1)","v":0}]
[24,{"$f":"USERS!B25","v":"Victoria Simmons"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D25=\"\",READINGS!$C25=\"\"),0,IF((READINGS!$D25-READINGS!$C25)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D25-READINGS!$C25)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D25-READINGS!$C25)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D25-READINGS!$C25),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D25-READINGS!$C25)>100,((READINGS!$D25-READINGS!$C25)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$E25=\"\",READINGS!$D25=\"\"),0,IF((READINGS!$E25-READINGS!$D25)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E25-READINGS!$D25)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E25-READINGS!$D25)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E25-READINGS!$D25),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E25-READINGS!$D25)>100,((READINGS!$E25-READINGS!$D25)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$F25=\"\",READINGS!$E25=\"\"),0,IF((READINGS!$F25-READINGS!$E25)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F25-READINGS!$E25)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F25-READINGS!$E25)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F25-READINGS!$E25),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F25-READINGS!$E25)>100,((READINGS!$F25-READINGS!$E25)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$G25=\"\",READINGS!$F25=\"\"),0,IF((READINGS!$G25-READINGS!$F25)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G25-READINGS!$F25)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G25-READINGS!$F25)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G25-READINGS!$F25),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G25-READINGS!$F25)>100,((READINGS!$G25-READINGS!$F25)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$H25=\"\",READINGS!$G25=\"\"),0,IF((READINGS!$H25-READINGS!$G25)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H25-READINGS!$G25)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H25-READINGS!$G25)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H25-READINGS!$G25),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H25-READINGS!$G25)>100,((READINGS!$H25-READINGS!$G25)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$I25=\"\",READINGS!$H25=\"\"),0,IF((READINGS!$I25-READINGS!$H25)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I25-READINGS!$H25)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I25-READINGS!$H25)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I25-READINGS!$H25),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I25-READINGS!$H25)>100,((READINGS!$I25-READINGS!$H25)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$J25=\"\",READINGS!$I25=\"\"),0,IF((READINGS!$J25-READINGS!$I25)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J25-READINGS!$I25)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J25-READINGS!$I25)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J25-READINGS!$I25),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J25-READINGS!$I25)>100,((READINGS!$J25-READINGS!$I25)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":67000},{"$f":"IF(OR(READINGS!$K25=\"\",READINGS!$J25=\"\"),0,IF((READINGS!$K25-READINGS!$J25)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K25-READINGS!$J25)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K25-READINGS!$J25)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K25-READINGS!$J25),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K25-READINGS!$J25)>100,((READINGS!$K25-READINGS!$J25)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D25=\"\",READINGS!$C25=\"\"),0,IF((READINGS!$D25-READINGS!$C25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D25-READINGS!$C25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D25-READINGS!$C25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D25-READINGS!$C25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D25-READINGS!$C25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$D25-READINGS!$C25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$E25=\"\",READINGS!$D25=\"\"),0,IF((READINGS!$E25-READINGS!$D25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E25-READINGS!$D25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E25-READINGS!$D25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E25-READINGS!$D25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E25-READINGS!$D25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$E25-READINGS!$D25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$F25=\"\",READINGS!$E25=\"\"),0,IF((READINGS!$F25-READINGS!$E25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F25-READINGS!$E25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F25-READINGS!$E25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F25-READINGS!$E25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F25-READINGS!$E25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$F25-READINGS!$E25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$G25=\"\",READINGS!$F25=\"\"),0,IF((READINGS!$G25-READINGS!$F25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G25-READINGS!$F25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G25-READINGS!$F25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G25-READINGS!$F25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G25-READINGS!$F25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$G25-READINGS!$F25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$H25=\"\",READINGS!$G25=\"\"),0,IF((READINGS!$H25-READINGS!$G25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H25-READINGS!$G25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H25-READINGS!$G25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H25-READINGS!$G25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H25-READINGS!$G25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$H25-READINGS!$G25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"IF(OR(READINGS!$I25=\"\",READINGS!$H25=\"\"),0,IF((READINGS!$I25-READINGS!$H25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I25-READINGS!$H25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I25-READINGS!$H25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I25-READINGS!$H25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I25-READINGS!$H25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$I25-READINGS!$H25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"IF(OR(READINGS!$J25=\"\",READINGS!$I25=\"\"),0,IF((READINGS!$J25-READINGS!$I25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J25-READINGS!$I25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J25-READINGS!$I25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J25-READINGS!$I25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J25-READINGS!$I25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$J25-READINGS!$I25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":67000},{"$f":"IF(OR(READINGS!$K25=\"\",READINGS!$J25=\"\"),0,IF((READINGS!$K25-READINGS!$J25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K25-READINGS!$J25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K25-READINGS!$J25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K25-READINGS!$J25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K25-READINGS!$J25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$K25-READINGS!$J25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L25=\"\",READINGS!$K25=\"\"),0,IF((READINGS!$L25-READINGS!$K25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L25-READINGS!$K25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L25-READINGS!$K25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L25-READINGS!$K25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L25-READINGS!$K25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$L25-READINGS!$K25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M25=\"\",READINGS!$L25=\"\"),0,IF((READINGS!$M25-READINGS!$L25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M25-READINGS!$L25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M25-READINGS!$L25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M25-READINGS!$L25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M25-READINGS!$L25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$M25-READINGS!$L25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N25=\"\",READINGS!$M25=\"\"),0,IF((READINGS!$N25-READINGS!$M25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N25-READINGS!$M25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N25-READINGS!$M25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N25-READINGS!$M25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N25-READINGS!$M25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$N25-READINGS!$M25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O25=\"\",READINGS!$N25=\"\"),0,IF((READINGS!$O25-READINGS!$N25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O25-READINGS!$N25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O25-READINGS!$N25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O25-READINGS!$N25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O25-READINGS!$N25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$O25-READINGS!$N25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P25=\"\",READINGS!$O25=\"\"),0,IF((READINGS!$P25-READINGS!$O25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P25-READINGS!$O25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P25-READINGS!$O25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P25-READINGS!$O25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P25-READINGS!$O25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$P25-READINGS!$O25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q25=\"\",READINGS!$P25=\"\"),0,IF((READINGS!$Q25-READINGS!$P25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q25-READINGS!$P25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q25-READINGS!$P25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q25-READINGS!$P25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q25-READINGS!$P25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q25-READINGS!$P25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R25=\"\",READINGS!$Q25=\"\"),0,IF((READINGS!$R25-READINGS!$Q25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R25-READINGS!$Q25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R25-READINGS!$Q25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R25-READINGS!$Q25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R25-READINGS!$Q25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$R25-READINGS!$Q25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S25=\"\",READINGS!$R25=\"\"),0,IF((READINGS!$S25-READINGS!$R25)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S25-READINGS!$R25)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S25-READINGS!$R25)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S25-READINGS!$R25),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S25-READINGS!$R25)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),((READINGS!$S25-READINGS!$R25)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D25=\"\",READINGS!$C25=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E25=\"\",READINGS!$D25=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F25=\"\",READINGS!$E25=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G25=\"\",READINGS!$F25=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H25=\"\",READINGS!$G25=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I25=\"\",READINGS!$H25=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J25=\"\",READINGS!$I25=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K25=\"\",READINGS!$J25=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L25=\"\",READINGS!$K25=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M25=\"\",READINGS!$L25=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N25=\"\",READINGS!$M25=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O25=\"\",READINGS!$N25=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P25=\"\",READINGS!$O25=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q25=\"\",READINGS!$P25=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R25=\"\",READINGS!$Q25=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S25=\"\",READINGS!$R25=\"\"),0,1)","v":0}]
[25,{"$f":"USERS!B26","v":"Ethan Douglas"},"PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D26=\"\",READINGS!$C26=\"\"),0,IF((READINGS!$D26-READINGS!$C26)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D26-READINGS!$C26)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D26-READINGS!$C26)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D26-READINGS!$C26),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D26-READINGS!$C26)>100,((READINGS!$D26-READINGS!$C26)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$E26=\"\",READINGS!$D26=\"\"),0,IF((READINGS!$E26-READINGS!$D26)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E26-READINGS!$D26)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E26-READINGS!$D26)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E26-READINGS!$D26),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E26-READINGS!$D26)>100,((READINGS!$E26-READINGS!$D26)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$F26=\"\",READINGS!$E26=\"\"),0,IF((READINGS!$F26-READINGS!$E26)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F26-READINGS!$E26)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F26-READINGS!$E26)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F26-READINGS!$E26),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F26-READINGS!$E26)>100,((READINGS!$F26-READINGS!$E26)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$G26=\"\",READINGS!$F26=\"\"),0,IF((READINGS!$G26-READINGS!$F26)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G26-READINGS!$F26)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G26-READINGS!$F26)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G26-READINGS!$F26),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G26-READINGS!$F26)>100,((READINGS!$G26-READINGS!$F26)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$H26=\"\",READINGS!$G26=\"\"),0,IF((READINGS!$H26-READINGS!$G26)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H26-READINGS!$G26)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H26-READINGS!$G26)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H26-READINGS!$G26),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H26-READINGS!$G26)>100,((READINGS!$H26-READINGS!$G26)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$I26=\"\",READINGS!$H26=\"\"),0,IF((READINGS!$I26-READINGS!$H26)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I26-READINGS!$H26)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I26-READINGS!$H26)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I26-READINGS!$H26),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I26-READINGS!$H26)>100,((READINGS!$I26-READINGS!$H26)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$J26=\"\",READINGS!$I26=\"\"),0,IF((READINGS!$J26-READINGS!$I26)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J26-READINGS!$I26)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J26-READINGS!$I26)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J26-READINGS!$I26),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J26-READINGS!$I26)>100,((READINGS!$J26-READINGS!$I26)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$K26=\"\",READINGS!$J26=\"\"),0,IF((READINGS!$K26-READINGS!$J26)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K26-READINGS!$J26)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K26-READINGS!$J26)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K26-READINGS!$J26),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K26-READINGS!$J26)>100,((READINGS!$K26-READINGS!$J26)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D26=\"\",READINGS!$C26=\"\"),0,IF((READINGS!$D26-READINGS!$C26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D26-READINGS!$C26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D26-READINGS!$C26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D26-READINGS!$C26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D26-READINGS!$C26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$D26-READINGS!$C26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$E26=\"\",READINGS!$D26=\"\"),0,IF((READINGS!$E26-READINGS!$D26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E26-READINGS!$D26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E26-READINGS!$D26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E26-READINGS!$D26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E26-READINGS!$D26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$E26-READINGS!$D26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$F26=\"\",READINGS!$E26=\"\"),0,IF((READINGS!$F26-READINGS!$E26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F26-READINGS!$E26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F26-READINGS!$E26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F26-READINGS!$E26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F26-READINGS!$E26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$F26-READINGS!$E26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$G26=\"\",READINGS!$F26=\"\"),0,IF((READINGS!$G26-READINGS!$F26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G26-READINGS!$F26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G26-READINGS!$F26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G26-READINGS!$F26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G26-READINGS!$F26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$G26-READINGS!$F26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$H26=\"\",READINGS!$G26=\"\"),0,IF((READINGS!$H26-READINGS!$G26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H26-READINGS!$G26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H26-READINGS!$G26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H26-READINGS!$G26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H26-READINGS!$G26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$H26-READINGS!$G26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$I26=\"\",READINGS!$H26=\"\"),0,IF((READINGS!$I26-READINGS!$H26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I26-READINGS!$H26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I26-READINGS!$H26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I26-READINGS!$H26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I26-READINGS!$H26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$I26-READINGS!$H26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$J26=\"\",READINGS!$I26=\"\"),0,IF((READINGS!$J26-READINGS!$I26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J26-READINGS!$I26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J26-READINGS!$I26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J26-READINGS!$I26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J26-READINGS!$I26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$J26-READINGS!$I26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$K26=\"\",READINGS!$J26=\"\"),0,IF((READINGS!$K26-READINGS!$J26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K26-READINGS!$J26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K26-READINGS!$J26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K26-READINGS!$J26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K26-READINGS!$J26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$K26-READINGS!$J26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L26=\"\",READINGS!$K26=\"\"),0,IF((READINGS!$L26-READINGS!$K26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L26-READINGS!$K26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L26-READINGS!$K26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L26-READINGS!$K26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L26-READINGS!$K26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$L26-READINGS!$K26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M26=\"\",READINGS!$L26=\"\"),0,IF((READINGS!$M26-READINGS!$L26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M26-READINGS!$L26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M26-READINGS!$L26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M26-READINGS!$L26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M26-READINGS!$L26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$M26-READINGS!$L26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N26=\"\",READINGS!$M26=\"\"),0,IF((READINGS!$N26-READINGS!$M26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N26-READINGS!$M26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N26-READINGS!$M26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N26-READINGS!$M26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N26-READINGS!$M26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$N26-READINGS!$M26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O26=\"\",READINGS!$N26=\"\"),0,IF((READINGS!$O26-READINGS!$N26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O26-READINGS!$N26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O26-READINGS!$N26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O26-READINGS!$N26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O26-READINGS!$N26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$O26-READINGS!$N26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P26=\"\",READINGS!$O26=\"\"),0,IF((READINGS!$P26-READINGS!$O26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P26-READINGS!$O26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P26-READINGS!$O26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P26-READINGS!$O26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P26-READINGS!$O26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$P26-READINGS!$O26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q26=\"\",READINGS!$P26=\"\"),0,IF((READINGS!$Q26-READINGS!$P26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q26-READINGS!$P26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q26-READINGS!$P26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q26-READINGS!$P26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q26-READINGS!$P26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q26-READINGS!$P26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R26=\"\",READINGS!$Q26=\"\"),0,IF((READINGS!$R26-READINGS!$Q26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R26-READINGS!$Q26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R26-READINGS!$Q26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R26-READINGS!$Q26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R26-READINGS!$Q26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$R26-READINGS!$Q26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S26=\"\",READINGS!$R26=\"\"),0,IF((READINGS!$S26-READINGS!$R26)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S26-READINGS!$R26)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S26-READINGS!$R26)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S26-READINGS!$R26),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S26-READINGS!$R26)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),((READINGS!$S26-READINGS!$R26)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D26=\"\",READINGS!$C26=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E26=\"\",READINGS!$D26=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F26=\"\",READINGS!$E26=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G26=\"\",READINGS!$F26=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H26=\"\",READINGS!$G26=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I26=\"\",READINGS!$H26=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J26=\"\",READINGS!$I26=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K26=\"\",READINGS!$J26=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L26=\"\",READINGS!$K26=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M26=\"\",READINGS!$L26=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N26=\"\",READINGS!$M26=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O26=\"\",READINGS!$N26=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P26=\"\",READINGS!$O26=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q26=\"\",READINGS!$P26=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R26=\"\",READINGS!$Q26=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S26=\"\",READINGS!$R26=\"\"),0,1)","v":0}]
[26,{"$f":"USERS!B27","v":"Henry Warren"},"PAID","PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D27=\"\",READINGS!$C27=\"\"),0,IF((READINGS!$D27-READINGS!$C27)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D27-READINGS!$C27)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D27-READINGS!$C27)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D27-READINGS!$C27),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D27-READINGS!$C27)>100,((READINGS!$D27-READINGS!$C27)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$E27=\"\",READINGS!$D27=\"\"),0,IF((READINGS!$E27-READINGS!$D27)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E27-READINGS!$D27)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E27-READINGS!$D27)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E27-READINGS!$D27),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E27-READINGS!$D27)>100,((READINGS!$E27-READINGS!$D27)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$F27=\"\",READINGS!$E27=\"\"),0,IF((READINGS!$F27-READINGS!$E27)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F27-READINGS!$E27)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F27-READINGS!$E27)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F27-READINGS!$E27),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F27-READINGS!$E27)>100,((READINGS!$F27-READINGS!$E27)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G27=\"\",READINGS!$F27=\"\"),0,IF((READINGS!$G27-READINGS!$F27)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G27-READINGS!$F27)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G27-READINGS!$F27)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G27-READINGS!$F27),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G27-READINGS!$F27)>100,((READINGS!$G27-READINGS!$F27)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H27=\"\",READINGS!$G27=\"\"),0,IF((READINGS!$H27-READINGS!$G27)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H27-READINGS!$G27)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H27-READINGS!$G27)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H27-READINGS!$G27),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H27-READINGS!$G27)>100,((READINGS!$H27-READINGS!$G27)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I27=\"\",READINGS!$H27=\"\"),0,IF((READINGS!$I27-READINGS!$H27)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I27-READINGS!$H27)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I27-READINGS!$H27)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I27-READINGS!$H27),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I27-READINGS!$H27)>100,((READINGS!$I27-READINGS!$H27)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J27=\"\",READINGS!$I27=\"\"),0,IF((READINGS!$J27-READINGS!$I27)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J27-READINGS!$I27)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J27-READINGS!$I27)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J27-READINGS!$I27),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J27-READINGS!$I27)>100,((READINGS!$J27-READINGS!$I27)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$K27=\"\",READINGS!$J27=\"\"),0,IF((READINGS!$K27-READINGS!$J27)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K27-READINGS!$J27)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K27-READINGS!$J27)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K27-READINGS!$J27),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K27-READINGS!$J27)>100,((READINGS!$K27-READINGS!$J27)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D27=\"\",READINGS!$C27=\"\"),0,IF((READINGS!$D27-READINGS!$C27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D27-READINGS!$C27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D27-READINGS!$C27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D27-READINGS!$C27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D27-READINGS!$C27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$D27-READINGS!$C27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$E27=\"\",READINGS!$D27=\"\"),0,IF((READINGS!$E27-READINGS!$D27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E27-READINGS!$D27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E27-READINGS!$D27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E27-READINGS!$D27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E27-READINGS!$D27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$E27-READINGS!$D27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"IF(OR(READINGS!$F27=\"\",READINGS!$E27=\"\"),0,IF((READINGS!$F27-READINGS!$E27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F27-READINGS!$E27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F27-READINGS!$E27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F27-READINGS!$E27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F27-READINGS!$E27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$F27-READINGS!$E27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$G27=\"\",READINGS!$F27=\"\"),0,IF((READINGS!$G27-READINGS!$F27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G27-READINGS!$F27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G27-READINGS!$F27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G27-READINGS!$F27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G27-READINGS!$F27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$G27-READINGS!$F27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$H27=\"\",READINGS!$G27=\"\"),0,IF((READINGS!$H27-READINGS!$G27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H27-READINGS!$G27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H27-READINGS!$G27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H27-READINGS!$G27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H27-READINGS!$G27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$H27-READINGS!$G27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$I27=\"\",READINGS!$H27=\"\"),0,IF((READINGS!$I27-READINGS!$H27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I27-READINGS!$H27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I27-READINGS!$H27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I27-READINGS!$H27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I27-READINGS!$H27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$I27-READINGS!$H27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"IF(OR(READINGS!$J27=\"\",READINGS!$I27=\"\"),0,IF((READINGS!$J27-READINGS!$I27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J27-READINGS!$I27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J27-READINGS!$I27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J27-READINGS!$I27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J27-READINGS!$I27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$J27-READINGS!$I27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"IF(OR(READINGS!$K27=\"\",READINGS!$J27=\"\"),0,IF((READINGS!$K27-READINGS!$J27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K27-READINGS!$J27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K27-READINGS!$J27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K27-READINGS!$J27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K27-READINGS!$J27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$K27-READINGS!$J27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L27=\"\",READINGS!$K27=\"\"),0,IF((READINGS!$L27-READINGS!$K27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L27-READINGS!$K27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L27-READINGS!$K27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L27-READINGS!$K27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L27-READINGS!$K27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$L27-READINGS!$K27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M27=\"\",READINGS!$L27=\"\"),0,IF((READINGS!$M27-READINGS!$L27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M27-READINGS!$L27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M27-READINGS!$L27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M27-READINGS!$L27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M27-READINGS!$L27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$M27-READINGS!$L27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N27=\"\",READINGS!$M27=\"\"),0,IF((READINGS!$N27-READINGS!$M27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N27-READINGS!$M27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N27-READINGS!$M27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N27-READINGS!$M27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N27-READINGS!$M27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$N27-READINGS!$M27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O27=\"\",READINGS!$N27=\"\"),0,IF((READINGS!$O27-READINGS!$N27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O27-READINGS!$N27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O27-READINGS!$N27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O27-READINGS!$N27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O27-READINGS!$N27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$O27-READINGS!$N27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P27=\"\",READINGS!$O27=\"\"),0,IF((READINGS!$P27-READINGS!$O27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P27-READINGS!$O27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P27-READINGS!$O27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P27-READINGS!$O27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P27-READINGS!$O27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$P27-READINGS!$O27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q27=\"\",READINGS!$P27=\"\"),0,IF((READINGS!$Q27-READINGS!$P27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q27-READINGS!$P27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q27-READINGS!$P27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q27-READINGS!$P27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q27-READINGS!$P27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q27-READINGS!$P27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R27=\"\",READINGS!$Q27=\"\"),0,IF((READINGS!$R27-READINGS!$Q27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R27-READINGS!$Q27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R27-READINGS!$Q27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R27-READINGS!$Q27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R27-READINGS!$Q27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$R27-READINGS!$Q27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S27=\"\",READINGS!$R27=\"\"),0,IF((READINGS!$S27-READINGS!$R27)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S27-READINGS!$R27)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S27-READINGS!$R27)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S27-READINGS!$R27),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S27-READINGS!$R27)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),((READINGS!$S27-READINGS!$R27)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D27=\"\",READINGS!$C27=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E27=\"\",READINGS!$D27=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F27=\"\",READINGS!$E27=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G27=\"\",READINGS!$F27=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H27=\"\",READINGS!$G27=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I27=\"\",READINGS!$H27=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J27=\"\",READINGS!$I27=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K27=\"\",READINGS!$J27=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L27=\"\",READINGS!$K27=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M27=\"\",READINGS!$L27=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N27=\"\",READINGS!$M27=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O27=\"\",READINGS!$N27=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P27=\"\",READINGS!$O27=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q27=\"\",READINGS!$P27=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R27=\"\",READINGS!$Q27=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S27=\"\",READINGS!$R27=\"\"),0,1)","v":0}]
[27,{"$f":"USERS!B28","v":"Michael Coleman"},"PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D28=\"\",READINGS!$C28=\"\"),0,IF((READINGS!$D28-READINGS!$C28)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D28-READINGS!$C28)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D28-READINGS!$C28)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D28-READINGS!$C28),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D28-READINGS!$C28)>100,((READINGS!$D28-READINGS!$C28)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$E28=\"\",READINGS!$D28=\"\"),0,IF((READINGS!$E28-READINGS!$D28)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E28-READINGS!$D28)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E28-READINGS!$D28)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E28-READINGS!$D28),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E28-READINGS!$D28)>100,((READINGS!$E28-READINGS!$D28)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$F28=\"\",READINGS!$E28=\"\"),0,IF((READINGS!$F28-READINGS!$E28)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F28-READINGS!$E28)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F28-READINGS!$E28)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F28-READINGS!$E28),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F28-READINGS!$E28)>100,((READINGS!$F28-READINGS!$E28)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$G28=\"\",READINGS!$F28=\"\"),0,IF((READINGS!$G28-READINGS!$F28)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G28-READINGS!$F28)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G28-READINGS!$F28)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G28-READINGS!$F28),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G28-READINGS!$F28)>100,((READINGS!$G28-READINGS!$F28)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$H28=\"\",READINGS!$G28=\"\"),0,IF((READINGS!$H28-READINGS!$G28)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H28-READINGS!$G28)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H28-READINGS!$G28)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H28-READINGS!$G28),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H28-READINGS!$G28)>100,((READINGS!$H28-READINGS!$G28)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$I28=\"\",READINGS!$H28=\"\"),0,IF((READINGS!$I28-READINGS!$H28)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I28-READINGS!$H28)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I28-READINGS!$H28)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I28-READINGS!$H28),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I28-READINGS!$H28)>100,((READINGS!$I28-READINGS!$H28)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$J28=\"\",READINGS!$I28=\"\"),0,IF((READINGS!$J28-READINGS!$I28)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J28-READINGS!$I28)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J28-READINGS!$I28)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J28-READINGS!$I28),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J28-READINGS!$I28)>100,((READINGS!$J28-READINGS!$I28)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$K28=\"\",READINGS!$J28=\"\"),0,IF((READINGS!$K28-READINGS!$J28)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K28-READINGS!$J28)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K28-READINGS!$J28)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K28-READINGS!$J28),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K28-READINGS!$J28)>100,((READINGS!$K28-READINGS!$J28)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D28=\"\",READINGS!$C28=\"\"),0,IF((READINGS!$D28-READINGS!$C28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D28-READINGS!$C28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D28-READINGS!$C28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D28-READINGS!$C28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D28-READINGS!$C28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$D28-READINGS!$C28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$E28=\"\",READINGS!$D28=\"\"),0,IF((READINGS!$E28-READINGS!$D28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E28-READINGS!$D28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E28-READINGS!$D28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E28-READINGS!$D28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E28-READINGS!$D28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$E28-READINGS!$D28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$F28=\"\",READINGS!$E28=\"\"),0,IF((READINGS!$F28-READINGS!$E28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F28-READINGS!$E28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F28-READINGS!$E28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F28-READINGS!$E28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F28-READINGS!$E28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$F28-READINGS!$E28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$G28=\"\",READINGS!$F28=\"\"),0,IF((READINGS!$G28-READINGS!$F28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G28-READINGS!$F28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G28-READINGS!$F28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G28-READINGS!$F28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G28-READINGS!$F28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$G28-READINGS!$F28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$H28=\"\",READINGS!$G28=\"\"),0,IF((READINGS!$H28-READINGS!$G28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H28-READINGS!$G28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H28-READINGS!$G28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H28-READINGS!$G28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H28-READINGS!$G28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$H28-READINGS!$G28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":30000},{"$f":"IF(OR(READINGS!$I28=\"\",READINGS!$H28=\"\"),0,IF((READINGS!$I28-READINGS!$H28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I28-READINGS!$H28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I28-READINGS!$H28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I28-READINGS!$H28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I28-READINGS!$H28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$I28-READINGS!$H28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"IF(OR(READINGS!$J28=\"\",READINGS!$I28=\"\"),0,IF((READINGS!$J28-READINGS!$I28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J28-READINGS!$I28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J28-READINGS!$I28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J28-READINGS!$I28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J28-READINGS!$I28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$J28-READINGS!$I28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"IF(OR(READINGS!$K28=\"\",READINGS!$J28=\"\"),0,IF((READINGS!$K28-READINGS!$J28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K28-READINGS!$J28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K28-READINGS!$J28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K28-READINGS!$J28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K28-READINGS!$J28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$K28-READINGS!$J28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L28=\"\",READINGS!$K28=\"\"),0,IF((READINGS!$L28-READINGS!$K28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L28-READINGS!$K28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L28-READINGS!$K28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L28-READINGS!$K28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L28-READINGS!$K28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$L28-READINGS!$K28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M28=\"\",READINGS!$L28=\"\"),0,IF((READINGS!$M28-READINGS!$L28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M28-READINGS!$L28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M28-READINGS!$L28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M28-READINGS!$L28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M28-READINGS!$L28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$M28-READINGS!$L28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N28=\"\",READINGS!$M28=\"\"),0,IF((READINGS!$N28-READINGS!$M28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N28-READINGS!$M28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N28-READINGS!$M28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N28-READINGS!$M28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N28-READINGS!$M28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$N28-READINGS!$M28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O28=\"\",READINGS!$N28=\"\"),0,IF((READINGS!$O28-READINGS!$N28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O28-READINGS!$N28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O28-READINGS!$N28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O28-READINGS!$N28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O28-READINGS!$N28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$O28-READINGS!$N28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P28=\"\",READINGS!$O28=\"\"),0,IF((READINGS!$P28-READINGS!$O28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P28-READINGS!$O28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P28-READINGS!$O28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P28-READINGS!$O28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P28-READINGS!$O28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$P28-READINGS!$O28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q28=\"\",READINGS!$P28=\"\"),0,IF((READINGS!$Q28-READINGS!$P28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q28-READINGS!$P28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q28-READINGS!$P28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q28-READINGS!$P28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q28-READINGS!$P28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q28-READINGS!$P28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R28=\"\",READINGS!$Q28=\"\"),0,IF((READINGS!$R28-READINGS!$Q28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R28-READINGS!$Q28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R28-READINGS!$Q28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R28-READINGS!$Q28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R28-READINGS!$Q28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$R28-READINGS!$Q28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S28=\"\",READINGS!$R28=\"\"),0,IF((READINGS!$S28-READINGS!$R28)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S28-READINGS!$R28)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S28-READINGS!$R28)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S28-READINGS!$R28),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S28-READINGS!$R28)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),((READINGS!$S28-READINGS!$R28)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D28=\"\",READINGS!$C28=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E28=\"\",READINGS!$D28=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F28=\"\",READINGS!$E28=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G28=\"\",READINGS!$F28=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H28=\"\",READINGS!$G28=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I28=\"\",READINGS!$H28=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J28=\"\",READINGS!$I28=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K28=\"\",READINGS!$J28=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L28=\"\",READINGS!$K28=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M28=\"\",READINGS!$L28=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N28=\"\",READINGS!$M28=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O28=\"\",READINGS!$N28=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P28=\"\",READINGS!$O28=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q28=\"\",READINGS!$P28=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R28=\"\",READINGS!$Q28=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S28=\"\",READINGS!$R28=\"\"),0,1)","v":0}]
[28,{"$f":"USERS!B29","v":"Emma Barnes"},"PAID","PAID","PAID","PAID","PAID","PAID","PENDING","PENDING","PENDING","PENDING","PENDING",null,{"$f":"IF(OR(READINGS!$D29=\"\",READINGS!$C29=\"\"),0,IF((READINGS!$D29-READINGS!$C29)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D29-READINGS!$C29)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D29-READINGS!$C29)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D29-READINGS!$C29),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D29-READINGS!$C29)>100,((READINGS!$D29-READINGS!$C29)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":27500},{"$f":"IF(OR(READINGS!$E29=\"\",READINGS!$D29=\"\"),0,IF((READINGS!$E29-READINGS!$D29)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E29-READINGS!$D29)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E29-READINGS!$D29)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E29-READINGS!$D29),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E29-READINGS!$D29)>100,((READINGS!$E29-READINGS!$D29)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":27500},{"$f":"IF(OR(READINGS!$F29=\"\",READINGS!$E29=\"\"),0,IF((READINGS!$F29-READINGS!$E29)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F29-READINGS!$E29)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F29-READINGS!$E29)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F29-READINGS!$E29),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F29-READINGS!$E29)>100,((READINGS!$F29-READINGS!$E29)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$G29=\"\",READINGS!$F29=\"\"),0,IF((READINGS!$G29-READINGS!$F29)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G29-READINGS!$F29)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G29-READINGS!$F29)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G29-READINGS!$F29),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G29-READINGS!$F29)>100,((READINGS!$G29-READINGS!$F29)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$H29=\"\",READINGS!$G29=\"\"),0,IF((READINGS!$H29-READINGS!$G29)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H29-READINGS!$G29)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H29-READINGS!$G29)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H29-READINGS!$G29),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H29-READINGS!$G29)>100,((READINGS!$H29-READINGS!$G29)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$I29=\"\",READINGS!$H29=\"\"),0,IF((READINGS!$I29-READINGS!$H29)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I29-READINGS!$H29)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I29-READINGS!$H29)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I29-READINGS!$H29),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I29-READINGS!$H29)>100,((READINGS!$I29-READINGS!$H29)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$J29=\"\",READINGS!$I29=\"\"),0,IF((READINGS!$J29-READINGS!$I29)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J29-READINGS!$I29)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J29-READINGS!$I29)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J29-READINGS!$I29),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J29-READINGS!$I29)>100,((READINGS!$J29-READINGS!$I29)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$K29=\"\",READINGS!$J29=\"\"),0,IF((READINGS!$K29-READINGS!$J29)<=30,INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K29-READINGS!$J29)<=40,INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K29-READINGS!$J29)<=50,INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K29-READINGS!$J29),100)-50)*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K29-READINGS!$J29)>100,((READINGS!$K29-READINGS!$J29)-100)*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D29=\"\",READINGS!$C29=\"\"),0,IF((READINGS!$D29-READINGS!$C29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D29-READINGS!$C29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$D29-READINGS!$C29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$D29-READINGS!$C29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$D29-READINGS!$C29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$D29-READINGS!$C29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":27500},{"$f":"IF(OR(READINGS!$E29=\"\",READINGS!$D29=\"\"),0,IF((READINGS!$E29-READINGS!$D29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E29-READINGS!$D29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$E29-READINGS!$D29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$E29-READINGS!$D29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$E29-READINGS!$D29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$E29-READINGS!$D29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":27500},{"$f":"IF(OR(READINGS!$F29=\"\",READINGS!$E29=\"\"),0,IF((READINGS!$F29-READINGS!$E29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F29-READINGS!$E29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$F29-READINGS!$E29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$F29-READINGS!$E29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$F29-READINGS!$E29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$F29-READINGS!$E29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$G29=\"\",READINGS!$F29=\"\"),0,IF((READINGS!$G29-READINGS!$F29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G29-READINGS!$F29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$G29-READINGS!$F29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$G29-READINGS!$F29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$G29-READINGS!$F29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$G29-READINGS!$F29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$H29=\"\",READINGS!$G29=\"\"),0,IF((READINGS!$H29-READINGS!$G29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H29-READINGS!$G29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$H29-READINGS!$G29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$H29-READINGS!$G29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$H29-READINGS!$G29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$H29-READINGS!$G29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$I29=\"\",READINGS!$H29=\"\"),0,IF((READINGS!$I29-READINGS!$H29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I29-READINGS!$H29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$I29-READINGS!$H29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$I29-READINGS!$H29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$I29-READINGS!$H29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$I29-READINGS!$H29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":24500},{"$f":"IF(OR(READINGS!$J29=\"\",READINGS!$I29=\"\"),0,IF((READINGS!$J29-READINGS!$I29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J29-READINGS!$I29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$J29-READINGS!$I29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$J29-READINGS!$I29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$J29-READINGS!$I29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$J29-READINGS!$I29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"IF(OR(READINGS!$K29=\"\",READINGS!$J29=\"\"),0,IF((READINGS!$K29-READINGS!$J29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K29-READINGS!$J29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$K29-READINGS!$J29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$K29-READINGS!$J29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$K29-READINGS!$J29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$K29-READINGS!$J29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$L29=\"\",READINGS!$K29=\"\"),0,IF((READINGS!$L29-READINGS!$K29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L29-READINGS!$K29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$L29-READINGS!$K29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$L29-READINGS!$K29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$L29-READINGS!$K29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$L29-READINGS!$K29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$M29=\"\",READINGS!$L29=\"\"),0,IF((READINGS!$M29-READINGS!$L29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M29-READINGS!$L29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$M29-READINGS!$L29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$M29-READINGS!$L29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$M29-READINGS!$L29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$M29-READINGS!$L29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$N29=\"\",READINGS!$M29=\"\"),0,IF((READINGS!$N29-READINGS!$M29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N29-READINGS!$M29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$N29-READINGS!$M29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$N29-READINGS!$M29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$N29-READINGS!$M29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$N29-READINGS!$M29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$O29=\"\",READINGS!$N29=\"\"),0,IF((READINGS!$O29-READINGS!$N29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O29-READINGS!$N29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$O29-READINGS!$N29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$O29-READINGS!$N29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$O29-READINGS!$N29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$O29-READINGS!$N29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$P29=\"\",READINGS!$O29=\"\"),0,IF((READINGS!$P29-READINGS!$O29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P29-READINGS!$O29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$P29-READINGS!$O29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$P29-READINGS!$O29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$P29-READINGS!$O29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$P29-READINGS!$O29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$Q29=\"\",READINGS!$P29=\"\"),0,IF((READINGS!$Q29-READINGS!$P29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q29-READINGS!$P29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$Q29-READINGS!$P29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$Q29-READINGS!$P29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$Q29-READINGS!$P29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$Q29-READINGS!$P29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$R29=\"\",READINGS!$Q29=\"\"),0,IF((READINGS!$R29-READINGS!$Q29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R29-READINGS!$Q29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$R29-READINGS!$Q29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$R29-READINGS!$Q29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$R29-READINGS!$Q29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$R29-READINGS!$Q29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$S29=\"\",READINGS!$R29=\"\"),0,IF((READINGS!$S29-READINGS!$R29)<=INDEX(TARIFFS!$G$2:$G$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S29-READINGS!$R29)<=INDEX(TARIFFS!$H$2:$H$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),IF((READINGS!$S29-READINGS!$R29)<=INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+(MIN((READINGS!$S29-READINGS!$R29),INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0))+IF((READINGS!$S29-READINGS!$R29)>INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),((READINGS!$S29-READINGS!$R29)-INDEX(TARIFFS!$J$2:$J$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(USERS!$D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":0},{"$f":"IF(OR(READINGS!$D29=\"\",READINGS!$C29=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$E29=\"\",READINGS!$D29=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$F29=\"\",READINGS!$E29=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$G29=\"\",READINGS!$F29=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$H29=\"\",READINGS!$G29=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$I29=\"\",READINGS!$H29=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$J29=\"\",READINGS!$I29=\"\"),0,1)","v":1},{"$f":"IF(OR(READINGS!$K29=\"\",READINGS!$J29=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$L29=\"\",READINGS!$K29=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$M29=\"\",READINGS!$L29=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$N29=\"\",READINGS!$M29=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$O29=\"\",READINGS!$N29=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$P29=\"\",READINGS!$O29=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$Q29=\"\",READINGS!$P29=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$R29=\"\",READINGS!$Q29=\"\"),0,1)","v":0},{"$f":"IF(OR(READINGS!$S29=\"\",READINGS!$R29=\"\"),0,1)","v":0}]
[null,null,null,null,null,null,null,null,null,null,"PENDING","PENDING","PENDING",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,{"$f":"IF(OR(READINGS!#REF!=\"\",READINGS!#REF!=\"\"),0,1)","v":{"$error":"#REF!"}}]
[null,null,null,null,null,null,null,null,null,null,"PENDING","PENDING","PENDING",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,{"$f":"IF(OR(READINGS!#REF!=\"\",READINGS!#REF!=\"\"),0,1)","v":{"$error":"#REF!"}}]

{"sheet":"USERS","index":2,"n_rows":29,"n_cols":13,"rows_kept":29,"cut":false,"hidden":false,"merged":[]}
["No","Name","Meter","Tariff","Debt","Location","No - Name","Email"]
[1,"James Barnes","10001","Residential 1",null,"Oakwood Lane #197",{"$f":"A2&\" - \"&B2","v":"1 - James Barnes"}]
[2,"Daniel Barnes","10002","Residential 2",null,"Oakwood Lane #10","2 - Daniel Barnes"]
[3,"Charlotte Chapman","10003","Residential 1",null,"Pinecrest #86","3 - Charlotte Chapman",null,null,null,null,null,"Send"]
[4,"Mia Carter","10004","Residential 1",null,"Riverside Drive #35","4 - Mia Carter",null,null,null,null,null,"No Send"]
[5,"Mia Chapman","10005","Commercial 2",null,"Cedar Hill #180","5 - Mia Chapman","info@monteverde.co","Send"]
[6,"Lucas Coleman","10006","Residential 1",null,"Maple Grove #112","6 - Lucas Coleman"]
[7,"Elizabeth Mitchell","10007","Residential 5",null,"Elm Street #97","7 - Elizabeth Mitchell"]
[8,"Olivia Bennett","10008","Residential 2",null,"Cedar Hill #188","8 - Olivia Bennett"]
[9,"Amelia Foster","10009","Commercial 1",null,"Maple Grove #24","9 - Amelia Foster"]
[10,"Samuel Hayes","10010","Industrial",null,"Riverside Drive #6","10 - Samuel Hayes"]
[11,"Henry Graham","10011","Residential 2",null,"Elm Street #123","11 - Henry Graham"]
[12,"Isabella Warren","10012","Commercial 1",null,"Maple Grove #197","12 - Isabella Warren"]
[13,"Henry Wallace","10013","Residential 1",null,"Pinecrest #124","13 - Henry Wallace"]
[14,"Sophia Stewart","10014","Residential 4",null,"Pinecrest #145","14 - Sophia Stewart"]
[15,"David Wallace","10015","Commercial 1",null,"Maple Grove #102","15 - David Wallace"]
[16,"Victoria Douglas","10016","Residential 5",null,"Meadowbrook #176","16 - Victoria Douglas"]
[17,"Ethan Stewart","10017","Residential 4",null,"Highland Park #134","17 - Ethan Stewart"]
[18,"Samuel Graham","10018","Residential 4",null,"Cedar Hill #131","18 - Samuel Graham"]
[19,"James Coleman","10019","Residential 4",null,"Oakwood Lane #125","19 - James Coleman"]
[20,"Samuel Barnes","10020","Commercial 1",null,"Riverside Drive #86","20 - Samuel Barnes"]
[21,"Charlotte Mitchell","10021","Industrial",null,"Highland Park #100","21 - Charlotte Mitchell"]
[22,"Evelyn Wallace","10022","Residential 5",null,"Maple Grove #49","22 - Evelyn Wallace"]
[23,"Evelyn Mitchell","10023","Commercial 2",null,"Cedar Hill #4","23 - Evelyn Mitchell"]
[24,"Victoria Simmons","10024","Industrial",null,"Willow Creek #104","24 - Victoria Simmons"]
[25,"Ethan Douglas","10025","Residential 3",null,"Maple Grove #164","25 - Ethan Douglas"]
[26,"Henry Warren","10026","Residential 2",null,"Willow Creek #140","26 - Henry Warren"]
[27,"Michael Coleman","10027","Residential 5",null,"Riverside Drive #138","27 - Michael Coleman"]
[28,"Emma Barnes","10030","Residential 3",null,"Cedar Hill #176","28 - Emma Barnes"]

{"sheet":"READINGS","index":3,"n_rows":29,"n_cols":19,"rows_kept":29,"cut":false,"hidden":false,"merged":[]}
["No","Name","December 2025","January 2026","February 2026","March 2026","April 2026","May 2026","June 2026","July 2026","August 2026","September 2026","October 2026","November 2026","December 2026","January 2027","February 2027","March 2027","April 2027"]
[1,"James Barnes",4565,4600,4624,4665,4700,4731,4765,4786]
[2,"Daniel Barnes",1626,1652,1691,1711,1743,1788,1827,1871]
[3,"Charlotte Chapman",3172,3216,3231,3265,3290,3320,3335,3353]
[4,"Mia Carter",4805,4831,4874,4915,4955,4979,5001,5017]
[5,"Mia Chapman",1986,2029,2062,2107,2124,2141,2179,2209]
[6,"Lucas Coleman",4342,4359,4398,4430,4469,4488,4507,4543]
[7,"Elizabeth Mitchell",2946,2991,3023,3043,3066,3097,3139,3173]
[8,"Olivia Bennett",2733,2778,2799,2843,2875,2914,2952,2989]
[9,"Amelia Foster",1823,1860,1884,1911,1947,1982,2008,2037]
[10,"Samuel Hayes",4684,4715,4744,4762,4784,4806,4823,4848]
[11,"Henry Graham",1086,1119,1151,1173,1206,1228,1243,1260]
[12,"Isabella Warren",3899,3934,3950,3972,3989,4032,4048,4090]
[13,"Henry Wallace",2353,2370,2401,2423,2446,2482,2512,2533]
[14,"Sophia Stewart",3208,3227,3265,3309,3352,3385,3418,3448]
[15,"David Wallace",1995,2035,2065,2105,2133,2154,2172,2190]
[16,"Victoria Douglas",3699,3727,3753,3781,3809,3838,3880,3918]
[17,"Ethan Stewart",1221,1257,1292,1327,1345,1361,1388,1426]
[18,"Samuel Graham",2389,2429,2471,2489,2511,2532,2553,2585]
[19,"James Coleman",2837,2856,2884,2904,2927,2956,2978,3020]
[20,"Samuel Barnes",4781,4798,4827,4867,4909,4951,4983,5001]
[21,"Charlotte Mitchell",1207,1242,1274,1315,1330,1347,1391,1430]
[22,"Evelyn Wallace",4476,4498,4518,4546,4576,4606,4627,4669]
[23,"Evelyn Mitchell",2642,2685,2701,2721,2748,2763,2790,2813]
[24,"Victoria Simmons",4795,4835,4875,4904,4928,4956,4993,5038]
[25,"Ethan Douglas",3992,4032,4064,4100,4137,4167,4186,4207]
[26,"Henry Warren",2215,2236,2281,2297,2330,2368,2400,2416]
[27,"Michael Coleman",4063,4088,4104,4120,4153,4183,4214,4258]
[28,"Emma Barnes",1491,1536,1579,1612,1634,1667,1701,1717]

{"sheet":"TARIFFS","index":4,"n_rows":9,"n_cols":10,"rows_kept":9,"cut":false,"hidden":false,"merged":[]}
["Type","0-30","31-40","41-50","51-100 (incremental)","101+ (incremental)","Band 1 Max","Band 2 Max","Band 3 Max","Band 4 Max"]
["Residential 1",20000,21000,23500,600,1900,30,40,50,100]
["Residential 2",21000,23500,26500,600,1900,30,40,50,100]
["Residential 3",22500,24500,27500,600,1900,30,40,50,100]
["Residential 4",23500,26500,29000,600,1900,30,40,50,100]
["Residential 5",30000,33600,36900,700,2000,30,40,50,100]
["Commercial 1",36000,40000,45000,700,2000,30,40,50,100]
["Commercial 2",47000,52500,58000,700,2000,30,40,50,100]
["Industrial",57000,61500,67000,700,2000,30,40,50,100]

{"sheet":"INVOICE","index":5,"n_rows":34,"n_cols":22,"rows_kept":34,"cut":false,"hidden":false,"merged":[[0,0,1,4],[8,2,8,3],[7,2,7,3],[32,0,33,1],[33,2,33,3],[5,2,5,3],[6,2,6,3],[4,2,4,3],[31,0,31,1]]}
["YOUR LOGO/NAME",null,null,null,null,null,"Invoice",null,null,null,"Monthly Consumption (m3)"]
[null,null,null,null,null,null,{"$f":"CONTROL!$B$3&\"-\"&CONTROL!$B$4","v":"10-July 2026"},null,null,null,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11)),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10)),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9)),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8)),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7)),\"\")","v":"December 2025"},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6)),\"\")","v":"January 2026"},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5)),\"\")","v":"February 2026"},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4)),\"\")","v":"March 2026"},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3)),\"\")","v":"April 2026"},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2)),\"\")","v":"May 2026"},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1)),\"\")","v":"June 2026"},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0))<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0))),\"\")","v":"July 2026"}]
["Villa del Rio district",null,null,null,null,null,null,null,null,null,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11-1))),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10-1))),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9-1))),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8-1))),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7-1))),\"\")","v":""},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6-1))),\"\")","v":31},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5-1))),\"\")","v":29},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4-1))),\"\")","v":18},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3-1))),\"\")","v":22},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2-1))),\"\")","v":22},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1)<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1)=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1)-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1-1))),\"\")","v":17},{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0))<2,\"\",IF(OR(INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0))=\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1)=\"\"),\"\",INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0))-INDEX(READINGS!$C$2:$DH$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1))),\"\")","v":25}]
[]
["CUSTOMER:",null,{"$f":"INDEX(USERS!$B$2:$B$29,CONTROL!$B$3)","v":"Samuel Hayes"},null,null,{"$f":"CONTROL!$B$3","v":10}]
["ADDRESS:",null,{"$f":"INDEX(USERS!$F$2:$F$29,CONTROL!$B$3)","v":"Riverside Drive #6"}]
["CLASSIFICATION:",null,{"$f":"INDEX(USERS!$D$2:$D$29,CONTROL!$B$3)","v":"Industrial"}]
["METER:",null,{"$f":"INDEX(USERS!$C$2:$C$29,CONTROL!$B$3)","v":"10010"}]
["STATUS:",null,{"$f":"\"PENDING\"","v":"PENDING"}]
[]
["OUTSTANDING BALANCES",null,null,"STATUS","CONSUMPTION DATA"]
[null,null,null,null,"READINGS"]
[1,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-11)),\"\")","v":""},{"$f":"IFERROR(IF(B13=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B13,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-11)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":""},{"$f":"IF(B13=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B13,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B13=CONTROL!$B$4,\"This bill\",\"Due\")))","v":""},"CURRENT READING",{"$f":"INDEX(READINGS!$C$2:$DH$31,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0))","v":4848},"Period",{"$f":"CONTROL!$B$4","v":"July 2026"}]
[2,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-10)),\"\")","v":""},{"$f":"IFERROR(IF(B14=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B14,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-10)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":""},{"$f":"IF(B14=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B14,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B14=CONTROL!$B$4,\"This bill\",\"Due\")))","v":""},"PREVIOUS READING",{"$f":"INDEX(READINGS!$C$2:$DH$31,CONTROL!$B$3,MATCH(INDEX(READINGS!$C$1:$DH$1,1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1),READINGS!$C$1:$DH$1,0))","v":4823}]
[3,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-9)),\"\")","v":""},{"$f":"IFERROR(IF(B15=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B15,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-9)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":""},{"$f":"IF(B15=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B15,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B15=CONTROL!$B$4,\"This bill\",\"Due\")))","v":""},"CONSUMPTION",{"$f":"F13-F14","v":25}]
[4,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-8)),\"\")","v":""},{"$f":"IFERROR(IF(B16=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B16,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-8)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":""},{"$f":"IF(B16=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B16,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B16=CONTROL!$B$4,\"This bill\",\"Due\")))","v":""}]
[5,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-7)),\"\")","v":"December 2025"},{"$f":"IFERROR(IF(B17=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B17,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-7)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":""},{"$f":"IF(B17=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B17,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B17=CONTROL!$B$4,\"This bill\",\"Due\")))","v":"Due"},"TARIFFS APPLIED"]
[6,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-6)),\"\")","v":"January 2026"},{"$f":"IFERROR(IF(B18=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B18,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-6)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":0},{"$f":"IF(B18=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B18,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B18=CONTROL!$B$4,\"This bill\",\"Due\")))","v":"Paid"},"RANGE","RATE","CONSUMPTION","AMOUNT"]
[7,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-5)),\"\")","v":"February 2026"},{"$f":"IFERROR(IF(B19=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B19,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-5)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":0},{"$f":"IF(B19=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B19,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B19=CONTROL!$B$4,\"This bill\",\"Due\")))","v":"Paid"},{"$f":"\"00-\"&INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":"00-30"},{"$f":"INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":57000},{"$f":"MIN($F$15,INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))","v":25},{"$f":"IF($F$15<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),$F$19,0)","v":57000}]
[8,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-4)),\"\")","v":"March 2026"},{"$f":"IFERROR(IF(B20=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B20,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-4)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":0},{"$f":"IF(B20=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B20,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B20=CONTROL!$B$4,\"This bill\",\"Due\")))","v":"Paid"},{"$f":"(INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+1)&\"-\"&INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":"31-40"},{"$f":"INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":61500},{"$f":"IF($F$15>INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),MIN($F$15,INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)","v":0},{"$f":"IF(AND($F$15>INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),$F$15<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))),$F$20,0)","v":0}]
[9,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-3)),\"\")","v":"April 2026"},{"$f":"IFERROR(IF(B21=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B21,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-3)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":57000},{"$f":"IF(B21=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B21,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B21=CONTROL!$B$4,\"This bill\",\"Due\")))","v":"Due"},{"$f":"(INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+1)&\"-\"&INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":"41-50"},{"$f":"INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":67000},{"$f":"IF($F$15>INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),MIN($F$15,INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)","v":0},{"$f":"IF(AND($F$15>INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),$F$15<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))),$F$21,0)","v":0}]
[10,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-2)),\"\")","v":"May 2026"},{"$f":"IFERROR(IF(B22=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B22,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-2)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":57000},{"$f":"IF(B22=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B22,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B22=CONTROL!$B$4,\"This bill\",\"Due\")))","v":"Due"},{"$f":"(INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+1)&\"-\"&INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":"51-100"},{"$f":"INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":700},{"$f":"MAX(MIN($F$15,INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)","v":0},{"$f":"IF($F$15>INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),$F$21+($F$15-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*$F$22,0)","v":0}]
[11,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1)<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0)-1)),\"\")","v":"June 2026"},{"$f":"IFERROR(IF(B23=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B23,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":57000},{"$f":"IF(B23=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B23,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B23=CONTROL!$B$4,\"This bill\",\"Due\")))","v":"Due"},{"$f":"(INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+1)&\" +++\"","v":"101 +++"},{"$f":"INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))","v":2000},{"$f":"MAX($F$15-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)","v":0},{"$f":"IF($F$15>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),$F$23*$G$23,0)","v":0}]
[12,{"$f":"IFERROR(IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0))<1,\"\",INDEX(READINGS!$C$1:$DH$1,MATCH(CONTROL!$B$4,READINGS!$C$1:$DH$1,0))),\"\")","v":"July 2026"},{"$f":"IFERROR(IF(B24=\"\",\"\",IF((MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0)-1)<1,\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B24,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),0,IF(OR(INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))=\"\",INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-1)=\"\"),\"\",IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-1))<=INDEX(TARIFFS!$G$2:$G$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-1))<=INDEX(TARIFFS!$H$2:$H$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-1))<=INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+(MIN((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-1)),INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0))+IF((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-1))>INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),((INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-INDEX(READINGS!$C$2:$R$29,CONTROL!$B$3,(MATCH(CONTROL!$B$4,READINGS!$C$1:$R$1,0))-1))-INDEX(TARIFFS!$J$2:$J$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH($C$7,TARIFFS!$A$2:$A$9,0)),0)))))))),\"\")","v":57000},{"$f":"IF(B24=\"\",\"\",IF(IFERROR(INDEX(PAYMENTS!$C$2:$Q$275,CONTROL!$B$3,MATCH(B24,PAYMENTS!$C$1:$Q$1,0))=\"PAID\",FALSE),\"Paid\",IF(B24=CONTROL!$B$4,\"This bill\",\"Due\")))","v":"This bill"},"TOTAL CONSUMPTION",null,{"$f":"$F$15","v":25},{"$f":"SUM(H19:H23)","v":57000}]
[null,null,null,null,"BILLED PERIOD:",{"$f":"CONTROL!$B$4","v":"July 2026"}]
[null,null,null,null,"ISSUE DATE:",{"$f":"CONTROL!$B$5","v":"20/08/2026"}]
[null,null,null,null,"CONSUMPTION AMOUNT:",null,{"$f":"$H$24","v":57000}]
[]
["BILLING PERIOD",null,{"$f":"CONTROL!$B$4","v":"July 2026"}]
["PAYMENT DUE DATE:",null,{"$f":"CONTROL!$B$6","v":"22/08/2026"}]
[]
["Total due · pay by",null,"Amount"]
[{"$f":"CONTROL!$B$6","v":"22/08/2026"}]
[null,null,{"$f":"$H$24+SUMPRODUCT((COLUMN(PAYMENTS!$C$1:$R$1)-COLUMN(PAYMENTS!$C$1)+1<MATCH(CONTROL!$B$4,PAYMENTS!$C$1:$R$1,0))*(INDEX(PAYMENTS!$C$2:$R$30,CONTROL!$B$3,0)=\"PENDING\")*(INDEX(PAYMENTS!$AM$2:$BB$30,CONTROL!$B$3,0)=1)*(INDEX(PAYMENTS!$W$2:$AL$30,CONTROL!$B$3,0)))","v":228000}]

{"sheet":"INVOICE REGISTER","index":6,"n_rows":29,"n_cols":11,"rows_kept":29,"cut":false,"hidden":false,"merged":[]}
["No","Name","Meter","Tariff","Period","Previous Reading","Current Reading","Consumption m3","Invoice Amount","Balance Due","Total Due"]
[1,{"$f":"INDEX(USERS!$B$2:$B$29,A2)","v":"James Barnes"},{"$f":"INDEX(USERS!$C$2:$C$29,A2)","v":"10001"},{"$f":"INDEX(USERS!$D$2:$D$29,A2)","v":"Residential 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A2,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4765},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A2,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":4786},{"$f":"IF(OR(F2=\"\",G2=\"\"),\"\",G2-F2)","v":21},{"$f":"IF(H2=\"\",\"\",IF(H2<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)),IF(H2<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)),IF(H2<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D2,TARIFFS!$A$2:$A$9,0))+(MIN(H2,INDEX(TARIFFS!$J$2:$J$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D2,TARIFFS!$A$2:$A$9,0))+IF(H2>INDEX(TARIFFS!$J$2:$J$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)),(H2-INDEX(TARIFFS!$J$2:$J$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D2,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C2:$J2=\"PENDING\")*(PAYMENTS!$W2:$AD2=1)*(PAYMENTS!$O2:$V2))","v":0},{"$f":"IF(I2=\"\",\"\",I2+J2)","v":20000}]
[2,{"$f":"INDEX(USERS!$B$2:$B$29,A3)","v":"Daniel Barnes"},{"$f":"INDEX(USERS!$C$2:$C$29,A3)","v":"10002"},{"$f":"INDEX(USERS!$D$2:$D$29,A3)","v":"Residential 2"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A3,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":1827},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A3,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":1871},44,{"$f":"IF(H3=\"\",\"\",IF(H3<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)),IF(H3<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)),IF(H3<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D3,TARIFFS!$A$2:$A$9,0))+(MIN(H3,INDEX(TARIFFS!$J$2:$J$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D3,TARIFFS!$A$2:$A$9,0))+IF(H3>INDEX(TARIFFS!$J$2:$J$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)),(H3-INDEX(TARIFFS!$J$2:$J$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D3,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C3:$J3=\"PENDING\")*(PAYMENTS!$W3:$AD3=1)*(PAYMENTS!$O3:$V3))","v":0},26500]
[3,{"$f":"INDEX(USERS!$B$2:$B$29,A4)","v":"Charlotte Chapman"},{"$f":"INDEX(USERS!$C$2:$C$29,A4)","v":"10003"},{"$f":"INDEX(USERS!$D$2:$D$29,A4)","v":"Residential 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A4,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":3335},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A4,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":3353},18,{"$f":"IF(H4=\"\",\"\",IF(H4<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)),IF(H4<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)),IF(H4<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D4,TARIFFS!$A$2:$A$9,0))+(MIN(H4,INDEX(TARIFFS!$J$2:$J$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D4,TARIFFS!$A$2:$A$9,0))+IF(H4>INDEX(TARIFFS!$J$2:$J$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)),(H4-INDEX(TARIFFS!$J$2:$J$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D4,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C4:$J4=\"PENDING\")*(PAYMENTS!$W4:$AD4=1)*(PAYMENTS!$O4:$V4))","v":0},20000]
[4,{"$f":"INDEX(USERS!$B$2:$B$29,A5)","v":"Mia Carter"},{"$f":"INDEX(USERS!$C$2:$C$29,A5)","v":"10004"},{"$f":"INDEX(USERS!$D$2:$D$29,A5)","v":"Residential 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A5,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":5001},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A5,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":5017},16,{"$f":"IF(H5=\"\",\"\",IF(H5<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)),IF(H5<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)),IF(H5<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D5,TARIFFS!$A$2:$A$9,0))+(MIN(H5,INDEX(TARIFFS!$J$2:$J$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D5,TARIFFS!$A$2:$A$9,0))+IF(H5>INDEX(TARIFFS!$J$2:$J$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)),(H5-INDEX(TARIFFS!$J$2:$J$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D5,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C5:$J5=\"PENDING\")*(PAYMENTS!$W5:$AD5=1)*(PAYMENTS!$O5:$V5))","v":0},20000]
[5,{"$f":"INDEX(USERS!$B$2:$B$29,A6)","v":"Mia Chapman"},{"$f":"INDEX(USERS!$C$2:$C$29,A6)","v":"10005"},{"$f":"INDEX(USERS!$D$2:$D$29,A6)","v":"Commercial 2"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A6,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2179},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A6,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":2209},30,{"$f":"IF(H6=\"\",\"\",IF(H6<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)),IF(H6<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)),IF(H6<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D6,TARIFFS!$A$2:$A$9,0))+(MIN(H6,INDEX(TARIFFS!$J$2:$J$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D6,TARIFFS!$A$2:$A$9,0))+IF(H6>INDEX(TARIFFS!$J$2:$J$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)),(H6-INDEX(TARIFFS!$J$2:$J$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D6,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C6:$J6=\"PENDING\")*(PAYMENTS!$W6:$AD6=1)*(PAYMENTS!$O6:$V6))","v":0},47000]
[6,{"$f":"INDEX(USERS!$B$2:$B$29,A7)","v":"Lucas Coleman"},{"$f":"INDEX(USERS!$C$2:$C$29,A7)","v":"10006"},{"$f":"INDEX(USERS!$D$2:$D$29,A7)","v":"Residential 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A7,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4507},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A7,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":4543},36,{"$f":"IF(H7=\"\",\"\",IF(H7<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)),IF(H7<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)),IF(H7<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D7,TARIFFS!$A$2:$A$9,0))+(MIN(H7,INDEX(TARIFFS!$J$2:$J$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D7,TARIFFS!$A$2:$A$9,0))+IF(H7>INDEX(TARIFFS!$J$2:$J$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)),(H7-INDEX(TARIFFS!$J$2:$J$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D7,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C7:$J7=\"PENDING\")*(PAYMENTS!$W7:$AD7=1)*(PAYMENTS!$O7:$V7))","v":0},21000]
[7,{"$f":"INDEX(USERS!$B$2:$B$29,A8)","v":"Elizabeth Mitchell"},{"$f":"INDEX(USERS!$C$2:$C$29,A8)","v":"10007"},{"$f":"INDEX(USERS!$D$2:$D$29,A8)","v":"Residential 5"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A8,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":3139},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A8,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":3173},34,{"$f":"IF(H8=\"\",\"\",IF(H8<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)),IF(H8<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)),IF(H8<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D8,TARIFFS!$A$2:$A$9,0))+(MIN(H8,INDEX(TARIFFS!$J$2:$J$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D8,TARIFFS!$A$2:$A$9,0))+IF(H8>INDEX(TARIFFS!$J$2:$J$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)),(H8-INDEX(TARIFFS!$J$2:$J$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D8,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C8:$J8=\"PENDING\")*(PAYMENTS!$W8:$AD8=1)*(PAYMENTS!$O8:$V8))","v":0},33600]
[8,{"$f":"INDEX(USERS!$B$2:$B$29,A9)","v":"Olivia Bennett"},{"$f":"INDEX(USERS!$C$2:$C$29,A9)","v":"10008"},{"$f":"INDEX(USERS!$D$2:$D$29,A9)","v":"Residential 2"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A9,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2952},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A9,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":2989},37,{"$f":"IF(H9=\"\",\"\",IF(H9<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)),IF(H9<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)),IF(H9<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D9,TARIFFS!$A$2:$A$9,0))+(MIN(H9,INDEX(TARIFFS!$J$2:$J$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D9,TARIFFS!$A$2:$A$9,0))+IF(H9>INDEX(TARIFFS!$J$2:$J$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)),(H9-INDEX(TARIFFS!$J$2:$J$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D9,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C9:$J9=\"PENDING\")*(PAYMENTS!$W9:$AD9=1)*(PAYMENTS!$O9:$V9))","v":0},23500]
[9,{"$f":"INDEX(USERS!$B$2:$B$29,A10)","v":"Amelia Foster"},{"$f":"INDEX(USERS!$C$2:$C$29,A10)","v":"10009"},{"$f":"INDEX(USERS!$D$2:$D$29,A10)","v":"Commercial 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A10,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2008},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A10,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":2037},29,{"$f":"IF(H10=\"\",\"\",IF(H10<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)),IF(H10<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)),IF(H10<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D10,TARIFFS!$A$2:$A$9,0))+(MIN(H10,INDEX(TARIFFS!$J$2:$J$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D10,TARIFFS!$A$2:$A$9,0))+IF(H10>INDEX(TARIFFS!$J$2:$J$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)),(H10-INDEX(TARIFFS!$J$2:$J$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D10,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C10:$J10=\"PENDING\")*(PAYMENTS!$W10:$AD10=1)*(PAYMENTS!$O10:$V10))","v":0},36000]
[10,{"$f":"INDEX(USERS!$B$2:$B$29,A11)","v":"Samuel Hayes"},{"$f":"INDEX(USERS!$C$2:$C$29,A11)","v":"10010"},{"$f":"INDEX(USERS!$D$2:$D$29,A11)","v":"Industrial"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A11,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4823},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A11,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":4848},25,{"$f":"IF(H11=\"\",\"\",IF(H11<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)),IF(H11<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)),IF(H11<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D11,TARIFFS!$A$2:$A$9,0))+(MIN(H11,INDEX(TARIFFS!$J$2:$J$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D11,TARIFFS!$A$2:$A$9,0))+IF(H11>INDEX(TARIFFS!$J$2:$J$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)),(H11-INDEX(TARIFFS!$J$2:$J$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D11,TARIFFS!$A$2:$A$9,0)),0)))))","v":57000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C11:$J11=\"PENDING\")*(PAYMENTS!$W11:$AD11=1)*(PAYMENTS!$O11:$V11))","v":0},57000]
[11,{"$f":"INDEX(USERS!$B$2:$B$29,A12)","v":"Henry Graham"},{"$f":"INDEX(USERS!$C$2:$C$29,A12)","v":"10011"},{"$f":"INDEX(USERS!$D$2:$D$29,A12)","v":"Residential 2"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A12,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":1243},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A12,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":1260},17,{"$f":"IF(H12=\"\",\"\",IF(H12<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)),IF(H12<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)),IF(H12<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D12,TARIFFS!$A$2:$A$9,0))+(MIN(H12,INDEX(TARIFFS!$J$2:$J$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D12,TARIFFS!$A$2:$A$9,0))+IF(H12>INDEX(TARIFFS!$J$2:$J$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)),(H12-INDEX(TARIFFS!$J$2:$J$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D12,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C12:$J12=\"PENDING\")*(PAYMENTS!$W12:$AD12=1)*(PAYMENTS!$O12:$V12))","v":0},21000]
[12,{"$f":"INDEX(USERS!$B$2:$B$29,A13)","v":"Isabella Warren"},{"$f":"INDEX(USERS!$C$2:$C$29,A13)","v":"10012"},{"$f":"INDEX(USERS!$D$2:$D$29,A13)","v":"Commercial 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A13,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4048},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A13,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":4090},42,{"$f":"IF(H13=\"\",\"\",IF(H13<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)),IF(H13<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)),IF(H13<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D13,TARIFFS!$A$2:$A$9,0))+(MIN(H13,INDEX(TARIFFS!$J$2:$J$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D13,TARIFFS!$A$2:$A$9,0))+IF(H13>INDEX(TARIFFS!$J$2:$J$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)),(H13-INDEX(TARIFFS!$J$2:$J$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D13,TARIFFS!$A$2:$A$9,0)),0)))))","v":45000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C13:$J13=\"PENDING\")*(PAYMENTS!$W13:$AD13=1)*(PAYMENTS!$O13:$V13))","v":0},45000]
[13,{"$f":"INDEX(USERS!$B$2:$B$29,A14)","v":"Henry Wallace"},{"$f":"INDEX(USERS!$C$2:$C$29,A14)","v":"10013"},{"$f":"INDEX(USERS!$D$2:$D$29,A14)","v":"Residential 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A14,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2512},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A14,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":2533},21,{"$f":"IF(H14=\"\",\"\",IF(H14<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)),IF(H14<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)),IF(H14<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D14,TARIFFS!$A$2:$A$9,0))+(MIN(H14,INDEX(TARIFFS!$J$2:$J$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D14,TARIFFS!$A$2:$A$9,0))+IF(H14>INDEX(TARIFFS!$J$2:$J$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)),(H14-INDEX(TARIFFS!$J$2:$J$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D14,TARIFFS!$A$2:$A$9,0)),0)))))","v":20000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C14:$J14=\"PENDING\")*(PAYMENTS!$W14:$AD14=1)*(PAYMENTS!$O14:$V14))","v":0},20000]
[14,{"$f":"INDEX(USERS!$B$2:$B$29,A15)","v":"Sophia Stewart"},{"$f":"INDEX(USERS!$C$2:$C$29,A15)","v":"10014"},{"$f":"INDEX(USERS!$D$2:$D$29,A15)","v":"Residential 4"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A15,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":3418},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A15,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":3448},30,{"$f":"IF(H15=\"\",\"\",IF(H15<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)),IF(H15<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)),IF(H15<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D15,TARIFFS!$A$2:$A$9,0))+(MIN(H15,INDEX(TARIFFS!$J$2:$J$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D15,TARIFFS!$A$2:$A$9,0))+IF(H15>INDEX(TARIFFS!$J$2:$J$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)),(H15-INDEX(TARIFFS!$J$2:$J$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D15,TARIFFS!$A$2:$A$9,0)),0)))))","v":23500},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C15:$J15=\"PENDING\")*(PAYMENTS!$W15:$AD15=1)*(PAYMENTS!$O15:$V15))","v":0},23500]
[15,{"$f":"INDEX(USERS!$B$2:$B$29,A16)","v":"David Wallace"},{"$f":"INDEX(USERS!$C$2:$C$29,A16)","v":"10015"},{"$f":"INDEX(USERS!$D$2:$D$29,A16)","v":"Commercial 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A16,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2172},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A16,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":2190},18,{"$f":"IF(H16=\"\",\"\",IF(H16<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)),IF(H16<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)),IF(H16<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D16,TARIFFS!$A$2:$A$9,0))+(MIN(H16,INDEX(TARIFFS!$J$2:$J$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D16,TARIFFS!$A$2:$A$9,0))+IF(H16>INDEX(TARIFFS!$J$2:$J$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)),(H16-INDEX(TARIFFS!$J$2:$J$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D16,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C16:$J16=\"PENDING\")*(PAYMENTS!$W16:$AD16=1)*(PAYMENTS!$O16:$V16))","v":0},36000]
[16,{"$f":"INDEX(USERS!$B$2:$B$29,A17)","v":"Victoria Douglas"},{"$f":"INDEX(USERS!$C$2:$C$29,A17)","v":"10016"},{"$f":"INDEX(USERS!$D$2:$D$29,A17)","v":"Residential 5"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A17,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":3880},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A17,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":3918},38,{"$f":"IF(H17=\"\",\"\",IF(H17<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)),IF(H17<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)),IF(H17<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D17,TARIFFS!$A$2:$A$9,0))+(MIN(H17,INDEX(TARIFFS!$J$2:$J$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D17,TARIFFS!$A$2:$A$9,0))+IF(H17>INDEX(TARIFFS!$J$2:$J$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)),(H17-INDEX(TARIFFS!$J$2:$J$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D17,TARIFFS!$A$2:$A$9,0)),0)))))","v":33600},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C17:$J17=\"PENDING\")*(PAYMENTS!$W17:$AD17=1)*(PAYMENTS!$O17:$V17))","v":0},33600]
[17,{"$f":"INDEX(USERS!$B$2:$B$29,A18)","v":"Ethan Stewart"},{"$f":"INDEX(USERS!$C$2:$C$29,A18)","v":"10017"},{"$f":"INDEX(USERS!$D$2:$D$29,A18)","v":"Residential 4"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A18,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":1388},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A18,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":1426},38,{"$f":"IF(H18=\"\",\"\",IF(H18<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)),IF(H18<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)),IF(H18<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D18,TARIFFS!$A$2:$A$9,0))+(MIN(H18,INDEX(TARIFFS!$J$2:$J$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D18,TARIFFS!$A$2:$A$9,0))+IF(H18>INDEX(TARIFFS!$J$2:$J$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)),(H18-INDEX(TARIFFS!$J$2:$J$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D18,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C18:$J18=\"PENDING\")*(PAYMENTS!$W18:$AD18=1)*(PAYMENTS!$O18:$V18))","v":0},26500]
[18,{"$f":"INDEX(USERS!$B$2:$B$29,A19)","v":"Samuel Graham"},{"$f":"INDEX(USERS!$C$2:$C$29,A19)","v":"10018"},{"$f":"INDEX(USERS!$D$2:$D$29,A19)","v":"Residential 4"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A19,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2553},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A19,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":2585},32,{"$f":"IF(H19=\"\",\"\",IF(H19<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)),IF(H19<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)),IF(H19<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D19,TARIFFS!$A$2:$A$9,0))+(MIN(H19,INDEX(TARIFFS!$J$2:$J$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D19,TARIFFS!$A$2:$A$9,0))+IF(H19>INDEX(TARIFFS!$J$2:$J$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)),(H19-INDEX(TARIFFS!$J$2:$J$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D19,TARIFFS!$A$2:$A$9,0)),0)))))","v":26500},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C19:$J19=\"PENDING\")*(PAYMENTS!$W19:$AD19=1)*(PAYMENTS!$O19:$V19))","v":0},26500]
[19,{"$f":"INDEX(USERS!$B$2:$B$29,A20)","v":"James Coleman"},{"$f":"INDEX(USERS!$C$2:$C$29,A20)","v":"10019"},{"$f":"INDEX(USERS!$D$2:$D$29,A20)","v":"Residential 4"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A20,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2978},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A20,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":3020},42,{"$f":"IF(H20=\"\",\"\",IF(H20<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)),IF(H20<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)),IF(H20<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D20,TARIFFS!$A$2:$A$9,0))+(MIN(H20,INDEX(TARIFFS!$J$2:$J$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D20,TARIFFS!$A$2:$A$9,0))+IF(H20>INDEX(TARIFFS!$J$2:$J$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)),(H20-INDEX(TARIFFS!$J$2:$J$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D20,TARIFFS!$A$2:$A$9,0)),0)))))","v":29000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C20:$J20=\"PENDING\")*(PAYMENTS!$W20:$AD20=1)*(PAYMENTS!$O20:$V20))","v":0},29000]
[20,{"$f":"INDEX(USERS!$B$2:$B$29,A21)","v":"Samuel Barnes"},{"$f":"INDEX(USERS!$C$2:$C$29,A21)","v":"10020"},{"$f":"INDEX(USERS!$D$2:$D$29,A21)","v":"Commercial 1"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A21,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4983},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A21,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":5001},18,{"$f":"IF(H21=\"\",\"\",IF(H21<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)),IF(H21<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)),IF(H21<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D21,TARIFFS!$A$2:$A$9,0))+(MIN(H21,INDEX(TARIFFS!$J$2:$J$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D21,TARIFFS!$A$2:$A$9,0))+IF(H21>INDEX(TARIFFS!$J$2:$J$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)),(H21-INDEX(TARIFFS!$J$2:$J$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D21,TARIFFS!$A$2:$A$9,0)),0)))))","v":36000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C21:$J21=\"PENDING\")*(PAYMENTS!$W21:$AD21=1)*(PAYMENTS!$O21:$V21))","v":0},36000]
[21,{"$f":"INDEX(USERS!$B$2:$B$29,A22)","v":"Charlotte Mitchell"},{"$f":"INDEX(USERS!$C$2:$C$29,A22)","v":"10021"},{"$f":"INDEX(USERS!$D$2:$D$29,A22)","v":"Industrial"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A22,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":1391},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A22,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":1430},39,{"$f":"IF(H22=\"\",\"\",IF(H22<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)),IF(H22<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)),IF(H22<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D22,TARIFFS!$A$2:$A$9,0))+(MIN(H22,INDEX(TARIFFS!$J$2:$J$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D22,TARIFFS!$A$2:$A$9,0))+IF(H22>INDEX(TARIFFS!$J$2:$J$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)),(H22-INDEX(TARIFFS!$J$2:$J$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D22,TARIFFS!$A$2:$A$9,0)),0)))))","v":61500},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C22:$J22=\"PENDING\")*(PAYMENTS!$W22:$AD22=1)*(PAYMENTS!$O22:$V22))","v":0},61500]
[22,{"$f":"INDEX(USERS!$B$2:$B$29,A23)","v":"Evelyn Wallace"},{"$f":"INDEX(USERS!$C$2:$C$29,A23)","v":"10022"},{"$f":"INDEX(USERS!$D$2:$D$29,A23)","v":"Residential 5"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A23,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4627},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A23,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":4669},42,{"$f":"IF(H23=\"\",\"\",IF(H23<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)),IF(H23<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)),IF(H23<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D23,TARIFFS!$A$2:$A$9,0))+(MIN(H23,INDEX(TARIFFS!$J$2:$J$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D23,TARIFFS!$A$2:$A$9,0))+IF(H23>INDEX(TARIFFS!$J$2:$J$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)),(H23-INDEX(TARIFFS!$J$2:$J$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D23,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C23:$J23=\"PENDING\")*(PAYMENTS!$W23:$AD23=1)*(PAYMENTS!$O23:$V23))","v":0},36900]
[23,{"$f":"INDEX(USERS!$B$2:$B$29,A24)","v":"Evelyn Mitchell"},{"$f":"INDEX(USERS!$C$2:$C$29,A24)","v":"10023"},{"$f":"INDEX(USERS!$D$2:$D$29,A24)","v":"Commercial 2"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A24,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2790},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A24,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":2813},23,{"$f":"IF(H24=\"\",\"\",IF(H24<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)),IF(H24<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)),IF(H24<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D24,TARIFFS!$A$2:$A$9,0))+(MIN(H24,INDEX(TARIFFS!$J$2:$J$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D24,TARIFFS!$A$2:$A$9,0))+IF(H24>INDEX(TARIFFS!$J$2:$J$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)),(H24-INDEX(TARIFFS!$J$2:$J$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D24,TARIFFS!$A$2:$A$9,0)),0)))))","v":47000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C24:$J24=\"PENDING\")*(PAYMENTS!$W24:$AD24=1)*(PAYMENTS!$O24:$V24))","v":0},47000]
[24,{"$f":"INDEX(USERS!$B$2:$B$29,A25)","v":"Victoria Simmons"},{"$f":"INDEX(USERS!$C$2:$C$29,A25)","v":"10024"},{"$f":"INDEX(USERS!$D$2:$D$29,A25)","v":"Industrial"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A25,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4993},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A25,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":5038},45,{"$f":"IF(H25=\"\",\"\",IF(H25<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)),IF(H25<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)),IF(H25<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D25,TARIFFS!$A$2:$A$9,0))+(MIN(H25,INDEX(TARIFFS!$J$2:$J$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D25,TARIFFS!$A$2:$A$9,0))+IF(H25>INDEX(TARIFFS!$J$2:$J$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)),(H25-INDEX(TARIFFS!$J$2:$J$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D25,TARIFFS!$A$2:$A$9,0)),0)))))","v":67000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C25:$J25=\"PENDING\")*(PAYMENTS!$W25:$AD25=1)*(PAYMENTS!$O25:$V25))","v":0},67000]
[25,{"$f":"INDEX(USERS!$B$2:$B$29,A26)","v":"Ethan Douglas"},{"$f":"INDEX(USERS!$C$2:$C$29,A26)","v":"10025"},{"$f":"INDEX(USERS!$D$2:$D$29,A26)","v":"Residential 3"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A26,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4186},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A26,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":4207},21,{"$f":"IF(H26=\"\",\"\",IF(H26<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)),IF(H26<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)),IF(H26<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D26,TARIFFS!$A$2:$A$9,0))+(MIN(H26,INDEX(TARIFFS!$J$2:$J$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D26,TARIFFS!$A$2:$A$9,0))+IF(H26>INDEX(TARIFFS!$J$2:$J$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)),(H26-INDEX(TARIFFS!$J$2:$J$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D26,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C26:$J26=\"PENDING\")*(PAYMENTS!$W26:$AD26=1)*(PAYMENTS!$O26:$V26))","v":0},22500]
[26,{"$f":"INDEX(USERS!$B$2:$B$29,A27)","v":"Henry Warren"},{"$f":"INDEX(USERS!$C$2:$C$29,A27)","v":"10026"},{"$f":"INDEX(USERS!$D$2:$D$29,A27)","v":"Residential 2"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A27,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":2400},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A27,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":2416},16,{"$f":"IF(H27=\"\",\"\",IF(H27<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)),IF(H27<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)),IF(H27<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D27,TARIFFS!$A$2:$A$9,0))+(MIN(H27,INDEX(TARIFFS!$J$2:$J$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D27,TARIFFS!$A$2:$A$9,0))+IF(H27>INDEX(TARIFFS!$J$2:$J$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)),(H27-INDEX(TARIFFS!$J$2:$J$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D27,TARIFFS!$A$2:$A$9,0)),0)))))","v":21000},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C27:$J27=\"PENDING\")*(PAYMENTS!$W27:$AD27=1)*(PAYMENTS!$O27:$V27))","v":0},21000]
[27,{"$f":"INDEX(USERS!$B$2:$B$29,A28)","v":"Michael Coleman"},{"$f":"INDEX(USERS!$C$2:$C$29,A28)","v":"10027"},{"$f":"INDEX(USERS!$D$2:$D$29,A28)","v":"Residential 5"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A28,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":4214},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A28,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":4258},44,{"$f":"IF(H28=\"\",\"\",IF(H28<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)),IF(H28<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)),IF(H28<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D28,TARIFFS!$A$2:$A$9,0))+(MIN(H28,INDEX(TARIFFS!$J$2:$J$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D28,TARIFFS!$A$2:$A$9,0))+IF(H28>INDEX(TARIFFS!$J$2:$J$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)),(H28-INDEX(TARIFFS!$J$2:$J$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D28,TARIFFS!$A$2:$A$9,0)),0)))))","v":36900},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C28:$J28=\"PENDING\")*(PAYMENTS!$W28:$AD28=1)*(PAYMENTS!$O28:$V28))","v":0},36900]
[28,{"$f":"INDEX(USERS!$B$2:$B$29,A29)","v":"Emma Barnes"},{"$f":"INDEX(USERS!$C$2:$C$29,A29)","v":"10030"},{"$f":"INDEX(USERS!$D$2:$D$29,A29)","v":"Residential 3"},"=CONTROL!$B$4",{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A29,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)-1),\"\")","v":1701},{"$f":"IFERROR(INDEX(READINGS!$C$2:$K$29,A29,MATCH(CONTROL!$B$4,READINGS!$C$1:$K$1,0)),\"\")","v":1717},16,{"$f":"IF(H29=\"\",\"\",IF(H29<=INDEX(TARIFFS!$G$2:$G$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$B$2:$B$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)),IF(H29<=INDEX(TARIFFS!$H$2:$H$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$C$2:$C$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)),IF(H29<=INDEX(TARIFFS!$I$2:$I$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)),INDEX(TARIFFS!$D$2:$D$9,MATCH(D29,TARIFFS!$A$2:$A$9,0))+(MIN(H29,INDEX(TARIFFS!$J$2:$J$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)))-INDEX(TARIFFS!$I$2:$I$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$E$2:$E$9,MATCH(D29,TARIFFS!$A$2:$A$9,0))+IF(H29>INDEX(TARIFFS!$J$2:$J$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)),(H29-INDEX(TARIFFS!$J$2:$J$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)))*INDEX(TARIFFS!$F$2:$F$9,MATCH(D29,TARIFFS!$A$2:$A$9,0)),0)))))","v":22500},{"$f":"SUMPRODUCT((PAYMENTS!$C$1:$J$1<>CONTROL!$B$4)*(PAYMENTS!$C29:$J29=\"PENDING\")*(PAYMENTS!$W29:$AD29=1)*(PAYMENTS!$O29:$V29))","v":0},22500]

{"sheet":"LICENSE","index":7,"n_rows":4,"n_cols":1,"rows_kept":4,"cut":false,"hidden":true,"merged":[]}
["Key"]
["LastChecked"]
["Status"]
["TrialStart"]